fix: add missing compiler to the full build on Windows (#333)
This commit is contained in:
parent
2238925fbe
commit
58fcd15000
@ -77,9 +77,7 @@ function createConfig(output, plugins = []) {
|
|||||||
const isGlobalBuild = /\.global(\.prod)?\.js$/.test(output.file)
|
const isGlobalBuild = /\.global(\.prod)?\.js$/.test(output.file)
|
||||||
const isBundlerESMBuild = /\.esm-bundler\.js$/.test(output.file)
|
const isBundlerESMBuild = /\.esm-bundler\.js$/.test(output.file)
|
||||||
const isBrowserESMBuild = /esm-browser(\.prod)?\.js$/.test(output.file)
|
const isBrowserESMBuild = /esm-browser(\.prod)?\.js$/.test(output.file)
|
||||||
const isRuntimeCompileBuild = /\/vue\./.test(output.file)
|
const isRuntimeCompileBuild = /vue\./.test(output.file)
|
||||||
|
|
||||||
console.log(isBundlerESMBuild)
|
|
||||||
|
|
||||||
if (isGlobalBuild) {
|
if (isGlobalBuild) {
|
||||||
output.name = packageOptions.name
|
output.name = packageOptions.name
|
||||||
|
Loading…
Reference in New Issue
Block a user