From: Evan You Date: Wed, 6 Nov 2019 20:47:01 +0000 (-0500) Subject: build: disable live external bindings for cjs build X-Git-Tag: v3.0.0-alpha.0~229 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f8e7fadaae8177a02f8abd7568d9fb6fbc96f7ee;p=thirdparty%2Fvuejs%2Fcore.git build: disable live external bindings for cjs build --- diff --git a/rollup.config.js b/rollup.config.js index 47b017c697..7c79dc252e 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -72,6 +72,8 @@ if (process.env.NODE_ENV === 'production') { export default packageConfigs function createConfig(output, plugins = []) { + output.externalLiveBindings = false + const isProductionBuild = process.env.__DEV__ === 'false' || /\.prod\.js$/.test(output.file) const isGlobalBuild = /\.global(\.prod)?\.js$/.test(output.file)