File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -460,6 +460,9 @@ async function doBuild(
460
460
exports : cjsSsrBuild ? 'named' : 'auto' ,
461
461
sourcemap : options . sourcemap ,
462
462
name : libOptions ? libOptions . name : undefined ,
463
+ // es2015 enables `generatedCode.symbols`
464
+ // - #764 add `Symbol.toStringTag` when build es module into cjs chunk
465
+ // - #1048 add `Symbol.toStringTag` for module default export
463
466
generatedCode : 'es2015' ,
464
467
entryFileNames : ssr
465
468
? `[name].${ jsExt } `
@@ -472,9 +475,6 @@ async function doBuild(
472
475
assetFileNames : libOptions
473
476
? `[name].[ext]`
474
477
: path . posix . join ( options . assetsDir , `[name].[hash].[ext]` ) ,
475
- // #764 add `Symbol.toStringTag` when build es module into cjs chunk
476
- // #1048 add `Symbol.toStringTag` for module default export
477
- namespaceToStringTag : true ,
478
478
inlineDynamicImports :
479
479
output . format === 'umd' ||
480
480
output . format === 'iife' ||
You can’t perform that action at this time.
0 commit comments