mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
add http as external dependency
This commit is contained in:
parent
20f93b8b54
commit
13fd871359
@ -55,7 +55,7 @@ function genConfig (opts) {
|
||||
const config = {
|
||||
entry: opts.entry,
|
||||
dest: opts.dest,
|
||||
external: ['fs', 'path'].concat(dependencies, opts.external),
|
||||
external: ['fs', 'path', 'http'].concat(dependencies, opts.external),
|
||||
format: opts.format || 'cjs',
|
||||
banner: opts.banner || banner,
|
||||
moduleName: opts.moduleName || 'Nuxt',
|
||||
|
Loading…
Reference in New Issue
Block a user