Skip to content

Commit 80755da

Browse files
sapphi-redlumirlumirmsmx-mnakagawabrandonzylstraTilakmahajan
authored
docs: bulk of typo fixes (#21507)
Co-authored-by: 루밀LuMir <rpfos@naver.com> Co-authored-by: msmx-mnakagawa <mnakagawa@mashmatrix.com> Co-authored-by: Brandon Zylstra <9854+brandonzylstra@users.noreply.github.com> Co-authored-by: Tilak Mahajan <121009772+Tilakmahajan@users.noreply.github.com>
1 parent b243180 commit 80755da

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/.vitepress/theme/landing/FeatureGrid1.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ import viteAnimation from '@assets/vite/animations/563_x_420_rich_features.riv'
6060
<div class="p-5 sm:p-10 pb-0 sm:pb-0 flex flex-col gap-3 lg:border-b-0">
6161
<h5 class="text-white">Rich Features Out of the Box</h5>
6262
<p class="sm:max-w-[28rem] text-pretty">
63-
TypeScript, JSX, CSS, Workers, Web Assembly... and more with just a
64-
plugin away.
63+
TypeScript, JSX, CSS, Workers, WebAssembly... and more just a plugin
64+
away.
6565
</p>
6666
<RiveAnimation
6767
:desktop-src="viteAnimation"

docs/config/shared-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ See [The `public` Directory](/guide/assets#the-public-directory) for more detail
8787
- **Type:** `string`
8888
- **Default:** `"node_modules/.vite"`
8989
90-
Directory to save cache files. Files in this directory are pre-bundled deps or some other cache files generated by vite, which can improve the performance. You can use `--force` flag or manually delete the directory to regenerate the cache files. The value can be either an absolute file system path or a path relative to project root. Default to `.vite` when no package.json is detected.
90+
Directory to save cache files. Files in this directory are pre-bundled deps or some other cache files generated by vite, which can improve the performance. You can use `--force` flag or manually delete the directory to regenerate the cache files. The value can be either an absolute file system path or a path relative to project root. Default to `.vite` when no `package.json` is detected.
9191
9292
## resolve.alias
9393

docs/guide/build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export default defineConfig({
135135
})
136136
```
137137
138-
If you specify a different root, remember that `__dirname` will still be the folder of your vite.config.js file when resolving the input paths. Therefore, you will need to add your `root` entry to the arguments for `resolve`.
138+
If you specify a different root, remember that `__dirname` will still be the folder of your `vite.config.js` file when resolving the input paths. Therefore, you will need to add your `root` entry to the arguments for `resolve`.
139139
140140
Note that for HTML files, Vite ignores the name given to the entry in the `rolldownOptions.input` object and instead respects the resolved id of the file when generating the HTML asset in the dist folder. This ensures a consistent structure with the way the dev server works.
141141

docs/guide/features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Native ES imports do not support bare module imports like the following:
1010
import { someMethod } from 'my-dep'
1111
```
1212

13-
The above will throw an error in the browser. Vite will detect such bare module imports in all served source files and perform the following:
13+
The above import will throw an error in the browser. Vite will detect such bare module imports in all served source files and perform the following:
1414

1515
1. [Pre-bundle](./dep-pre-bundling) them to improve page loading speed and convert CommonJS / UMD modules to ESM. The pre-bundling step is performed with [esbuild](https://esbuild.github.io/) and makes Vite's cold start time significantly faster than any JavaScript-based bundler.
1616

packages/vite/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ See [7.0.0-beta.0 changelog](https://github.com/vitejs/vite/blob/v7.0.0-beta.0/p
792792
* **assets:** ensure ?no-inline is not included in the asset url in the production environment ([#19496](https://github.com/vitejs/vite/issues/19496)) ([16a73c0](https://github.com/vitejs/vite/commit/16a73c05d35daa34117a173784895546212db5f4))
793793
* **css:** resolve relative imports in sass properly on Windows ([#19920](https://github.com/vitejs/vite/issues/19920)) ([ffab442](https://github.com/vitejs/vite/commit/ffab44270488f54ae344801024474b597249071b))
794794
* **deps:** update all non-major dependencies ([#19899](https://github.com/vitejs/vite/issues/19899)) ([a4b500e](https://github.com/vitejs/vite/commit/a4b500ef9ccc9b19a2882156a9ba8397e69bc6b2))
795-
* ignore malformed uris in tranform middleware ([#19853](https://github.com/vitejs/vite/issues/19853)) ([e4d5201](https://github.com/vitejs/vite/commit/e4d520141bcd83ad61f16767348b4a813bf9340a))
795+
* ignore malformed uris in transform middleware ([#19853](https://github.com/vitejs/vite/issues/19853)) ([e4d5201](https://github.com/vitejs/vite/commit/e4d520141bcd83ad61f16767348b4a813bf9340a))
796796
* **ssr:** fix execution order of re-export ([#19841](https://github.com/vitejs/vite/issues/19841)) ([ed29dee](https://github.com/vitejs/vite/commit/ed29dee2eb2e3573b2bc337e1a9124c65222a1e5))
797797
* **ssr:** fix live binding of default export declaration and hoist exports getter ([#19842](https://github.com/vitejs/vite/issues/19842)) ([80a91ff](https://github.com/vitejs/vite/commit/80a91ff82426a4c88d54b9f5ec9a4205cb13899b))
798798

playground/assets/__tests__/assets.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ test('should get a 404 when using incorrect case', async () => {
6767
expect(barResult.status).toBe(200)
6868
})
6969

70-
test('should fallback to index.html when accessing non-existant html file', async () => {
70+
test('should fallback to index.html when accessing non-existent html file', async () => {
7171
expect((await fetchPath('doesnt-exist.html')).status).toBe(200)
7272
})
7373

0 commit comments

Comments
 (0)