Skip to content

Commit 9904cb1

Browse files
author
Dan
authored
docs: grammar (#1203)
1 parent 650ca16 commit 9904cb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ If you want to serve the HTML using a traditional backend (e.g. Rails, Laravel)
436436
<script type="module" src="http://localhost:3000/main.js"></script>
437437
```
438438

439-
Also make sure the server is configured to serve static assets in the Viter working directory, otherwise assets such as images won't be loaded properly.
439+
Also make sure the server is configured to serve static assets in the Vite working directory, otherwise assets such as images won't be loaded properly.
440440
441441
3. For production: after running `vite build`, a `manifest.json` file will be generated alongside other asset files. You can use this file to render links with hashed filenames (note: the syntax here is for explanation only, substitute with your server templating language):
442442
@@ -539,7 +539,7 @@ Finally, because compilation is still done in Node, it can technically support a
539539
540540
`es-dev-server` is a great project and we did take some inspiration from it when refactoring Vite in the early stages. That said, here is why Vite is different from `es-dev-server` and why we didn't just implement Vite as a middleware for `es-dev-server`:
541541
542-
- One of Vite's primary goal was to support Hot Module Replacement, but `es-dev-server` internals is a bit too opaque to get this working nicely via a middleware.
542+
- One of Vite's primary goals was to support Hot Module Replacement, but `es-dev-server` internals are a bit too opaque to get this working nicely via a middleware.
543543
544544
- Vite aims to be a single tool that integrates both the dev and the build process. You can use Vite to both serve and bundle the same source code, with zero configuration.
545545

0 commit comments

Comments
 (0)