diff --git a/rollup.config.js b/rollup.config.js index 3c6bd04e..3a7dd909 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -77,7 +77,7 @@ function createConfig(output, plugins = []) { const isGlobalBuild = /\.global(\.prod)?\.js$/.test(output.file) const isBundlerESMBuild = /\.esm\.js$/.test(output.file) const isBrowserESMBuild = /esm-browser(\.prod)?\.js$/.test(output.file) - const isRuntimeCompileBuild = /^dist\/vue\./.test(output.file) + const isRuntimeCompileBuild = /\/vue\./.test(output.file) if (isGlobalBuild) { output.name = packageOptions.name