fix: add missing compiler to the full build on Windows (#333)

This commit is contained in:
Stanislav Lashmanov 2019-10-18 20:57:13 +03:00 committed by Evan You
parent 2238925fbe
commit 58fcd15000

View File

@ -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