File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 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'
7878export interface BuildEnvironmentOptions {
7979 /**
8080 * 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
8483 *
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+).
8887 *
8988 * Another special value is 'esnext' - which only performs minimal transpiling
90- * (for minification compat) and assumes native dynamic imports support .
89+ * (for minification compat).
9190 *
9291 * For custom targets, see https://esbuild.github.io/api/#target and
9392 * https://esbuild.github.io/content-types/#javascript for more details.
You can’t perform that action at this time.
0 commit comments