Skip to content

Commit

Permalink
docs: tweak intro
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 13, 2021
1 parent cd920ba commit 54ff2b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Today most JavaScript developers are familiar with the following ES modules synt
import { foo } from './other-module'
```

Today, this syntax has [wide native support in major browsers](https://caniuse.com/es6-module). However, before browsers had native support for ES modules, we had to rely on bundlers (Browserify, webpack, Parcel or Rollup) to combine all our module source code into a single file so that it can be served by the browser, even during development.
This syntax already has [wide native support in major browsers](https://caniuse.com/es6-module). However, before browsers had native support for ES modules, we had to rely on bundlers (Browserify, webpack, Parcel or Rollup) to combine all our module source code into a single file so that it can be served by the browser, even during development.

There are two downsides to bundling during development:

Expand Down Expand Up @@ -46,4 +46,4 @@ Ensuring optimal output and behavioral consistency between the dev server and th

- Vite requires [native ESM dynamic import support](https://caniuse.com/es6-module-dynamic-import) during development.

- The production build assumes a baseline support for [native ESM via script tags](https://caniuse.com/es6-module), and legacy browsers can be supported via an official plugin. See [Building for Production](./build) section.
- The production build assumes a baseline support for [native ESM via script tags](https://caniuse.com/es6-module), and legacy browsers can be supported via an official plugin. See the [Building for Production](./build) section for more details.

0 comments on commit 54ff2b4

Please sign in to comment.