From e85e3a58f7c1f42e0115f364555737730f36a1be Mon Sep 17 00:00:00 2001 From: nio89 Date: Sat, 13 Feb 2021 20:50:54 +0100 Subject: [PATCH] docs: typo (#2005) [skip ci] trasnpiling -> transpiling --- docs/config/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config/index.md b/docs/config/index.md index 33dc8d3d568d72..9ca0f5edd766d9 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -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.