This commit is contained in:
Georges KABBOUCHI
2020-09-19 17:57:27 +03:00
parent a2a6c74c16
commit 2b5422395b
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -66,6 +66,7 @@ function createConfig(format, output, plugins = []) {
output.banner = banner
output.externalLiveBindings = false
output.globals = { vue: 'Vue' }
output.exports = 'named'
const isProductionBuild = /\.prod\.js$/.test(output.file)
const isGlobalBuild = format === 'global'
+1 -1
View File
@@ -7,7 +7,7 @@
"sourceMap": false,
"noEmit": true,
"target": "esnext",
"target": "es2019",
"module": "esnext",
"moduleResolution": "node",
"allowJs": false,