From fe739014b0a8b9bff7f7315f33509497ccdc083e Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Sat, 10 Jul 2021 16:17:35 +0200 Subject: [PATCH] update: more bundle stuff --- rollup.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index f15ab667..438491e0 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -82,7 +82,7 @@ function createConfig(format, output, plugins = []) { output.sourcemap = !!process.env.SOURCE_MAP; output.banner = banner; output.externalLiveBindings = false; - output.globals = { vue: 'Vue', 'vue-demi': 'VueDemi' }; + output.globals = { 'vue-demi': 'VueDemi' }; const isProductionBuild = /\.prod\.js$/.test(output.file); const isGlobalBuild = format.startsWith('global'); @@ -111,7 +111,7 @@ function createConfig(format, output, plugins = []) { // during a single build. hasTSChecked = true; - const external = ['vue', 'vue-demi', (id) => id.includes('@babel/runtime')]; + const external = ['vue-demi']; const nodePlugins = [resolve(), commonjs({ include: 'node_modules/**' })];