Skip to content

Commit 8c6ad5c

Browse files
author
Franck Freiburger
committed
chore(build): set TS compilerOptions target and allowSyntheticDefaultImports
1 parent d0326fc commit 8c6ad5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/webpack.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,8 @@ ${ pkg.name } v${ pkg.version } for vue${ vueTarget }
466466
configFile: Path.resolve(__dirname, 'tsconfig.json'),
467467
onlyCompileBundledFiles: true,
468468
compilerOptions: {
469+
target: 'ES2017',
470+
allowSyntheticDefaultImports: true,
469471
sourceMap: !noSourceMap,
470472
outDir: distPath,
471473
declaration: true,

0 commit comments

Comments
 (0)