From e00c00d5c1f97ce1d01a17a7fa6eee37821e5eb3 Mon Sep 17 00:00:00 2001 From: Sebastien Chopin Date: Wed, 26 Jul 2017 10:52:15 +0200 Subject: [PATCH] Remove warnigns --- build/rollup.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/rollup.config.js b/build/rollup.config.js index f912f1cfc2..61fa3cf2f3 100755 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -44,7 +44,7 @@ const builds = { }, core: { entry: resolve(libDir, 'core/index.js'), - dest: resolve(distDir, 'core.js') + dest: resolve(distDir, 'core.js'), } } @@ -55,7 +55,7 @@ function genConfig (opts) { const config = { entry: opts.entry, dest: opts.dest, - external: ['fs', 'path', 'http', 'module'].concat(dependencies, opts.external), + external: ['fs', 'path', 'http', 'module', 'vue-server-renderer/server-plugin', 'vue-server-renderer/client-plugin'].concat(dependencies, opts.external), format: opts.format || 'cjs', banner: opts.banner || banner, moduleName: opts.moduleName || 'Nuxt',