Remove warnigns

This commit is contained in:
Sebastien Chopin 2017-07-26 10:52:15 +02:00
parent c141b0a825
commit e00c00d5c1

View File

@ -44,7 +44,7 @@ const builds = {
}, },
core: { core: {
entry: resolve(libDir, 'core/index.js'), 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 = { const config = {
entry: opts.entry, entry: opts.entry,
dest: opts.dest, 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', format: opts.format || 'cjs',
banner: opts.banner || banner, banner: opts.banner || banner,
moduleName: opts.moduleName || 'Nuxt', moduleName: opts.moduleName || 'Nuxt',