]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
build: disable live external bindings for cjs build
authorEvan You <yyx990803@gmail.com>
Wed, 6 Nov 2019 20:47:01 +0000 (15:47 -0500)
committerEvan You <yyx990803@gmail.com>
Wed, 6 Nov 2019 20:47:01 +0000 (15:47 -0500)
rollup.config.js

index 47b017c6973ac4f07ae3ef54aa8225f100da3408..7c79dc252e4b8da0bdd68c4f8f50ca17ff2c443e 100644 (file)
@@ -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)