mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
Remove warnigns
This commit is contained in:
parent
c141b0a825
commit
e00c00d5c1
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user