File tree 1 file changed +6
-7
lines changed
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -78,16 +78,15 @@ import type { RollupPluginHooks } from './typeUtils'
78
78
export interface BuildEnvironmentOptions {
79
79
/**
80
80
* Compatibility transform target. The transform is performed with esbuild
81
- * and the lowest supported target is es2015/es6. Note this only handles
82
- * syntax transformation and does not cover polyfills (except for dynamic
83
- * import)
81
+ * and the lowest supported target is es2015. Note this only handles
82
+ * syntax transformation and does not cover polyfills
84
83
*
85
- * Default: 'modules' - Similar to `@babel/preset-env`'s targets.esmodules,
86
- * transpile targeting browsers that natively support dynamic es module imports.
87
- * https://caniuse.com/es6-module-dynamic-import
84
+ * Default: 'modules' - transpile targeting browsers that natively support
85
+ * dynamic es module imports and `import.meta`
86
+ * (Chrome 87+, Firefox 78+, Safari 14+, Edge 88+).
88
87
*
89
88
* Another special value is 'esnext' - which only performs minimal transpiling
90
- * (for minification compat) and assumes native dynamic imports support .
89
+ * (for minification compat).
91
90
*
92
91
* For custom targets, see https://esbuild.github.io/api/#target and
93
92
* https://esbuild.github.io/content-types/#javascript for more details.
You can’t perform that action at this time.
0 commit comments