add http as external dependency

This commit is contained in:
Pooya Parsa 2017-06-18 14:08:52 +04:30
parent 20f93b8b54
commit 13fd871359

View File

@ -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',