From efe3e95568300cff9a14297207e390f0e3f79a8a Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sat, 22 Jul 2017 22:25:26 +0430 Subject: [PATCH] fix warning with module as external dependency --- build/rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/rollup.config.js b/build/rollup.config.js index 3a55f6957f..f912f1cfc2 100755 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -55,7 +55,7 @@ function genConfig (opts) { const config = { entry: opts.entry, dest: opts.dest, - external: ['fs', 'path', 'http'].concat(dependencies, opts.external), + external: ['fs', 'path', 'http', 'module'].concat(dependencies, opts.external), format: opts.format || 'cjs', banner: opts.banner || banner, moduleName: opts.moduleName || 'Nuxt',