Skip to content

Commit

Permalink
docs: typo (#2005) [skip ci]
Browse files Browse the repository at this point in the history
trasnpiling -> transpiling
  • Loading branch information
0xnio authored Feb 13, 2021
1 parent 198ee8a commit e85e3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ export default ({ command, mode }) => {

Browser compatibility target for the final bundle. The default value is a Vite special value, `'modules'`, which targets [browsers with native ES module support](https://caniuse.com/es6-module).

Another special value is 'esnext' - which only performs minimal trasnpiling (for minification compat) and assumes native dynamic imports support.
Another special value is 'esnext' - which only performs minimal transpiling (for minification compat) and assumes native dynamic imports support.

The transform is performed with esbuild and the value should be a valid [esbuild target option](https://esbuild.github.io/api/#target). Custom targets can either be a ES version (e.g. `es2015`), a browser with version (e.g. `chrome58`), or an array of multiple target strings.

Expand Down

0 comments on commit e85e3a5

Please # to comment.