wip
This commit is contained in:
@@ -66,6 +66,7 @@ function createConfig(format, output, plugins = []) {
|
|||||||
output.banner = banner
|
output.banner = banner
|
||||||
output.externalLiveBindings = false
|
output.externalLiveBindings = false
|
||||||
output.globals = { vue: 'Vue' }
|
output.globals = { vue: 'Vue' }
|
||||||
|
output.exports = 'named'
|
||||||
|
|
||||||
const isProductionBuild = /\.prod\.js$/.test(output.file)
|
const isProductionBuild = /\.prod\.js$/.test(output.file)
|
||||||
const isGlobalBuild = format === 'global'
|
const isGlobalBuild = format === 'global'
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
|
|
||||||
"target": "esnext",
|
"target": "es2019",
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"allowJs": false,
|
"allowJs": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user