mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix build warn
This commit is contained in:
parent
5a07be6396
commit
ceef1f896f
@ -59,7 +59,7 @@ function genConfig(opts) {
|
||||
format: 'cjs',
|
||||
sourcemap: true
|
||||
},
|
||||
external: ['fs', 'path', 'http', 'module', 'vue-server-renderer/server-plugin', 'vue-server-renderer/client-plugin']
|
||||
external: ['fs', 'path', 'http', 'module', 'util', 'vue-server-renderer/server-plugin', 'vue-server-renderer/client-plugin']
|
||||
.concat(dependencies, opts.external),
|
||||
banner: opts.banner || banner,
|
||||
name: opts.modulename || 'Nuxt',
|
||||
|
Loading…
Reference in New Issue
Block a user