mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-28 22:32:42 +00:00
fix warning with module as external dependency
This commit is contained in:
parent
59c7c5b09d
commit
efe3e95568
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user