Fix typo that skipped marking peerDependencies as external

This commit is contained in:
Jason Miller 2017-12-11 21:33:16 -05:00
parent 93ac71b1c9
commit 98980643c9

View File

@ -116,7 +116,7 @@ function createConfig(options, entry, format) {
let { pkg } = options;
let external = ['dns', 'fs', 'path', 'url'].concat(
Object.keys(pkg.peerDepdendencies || {}),
Object.keys(pkg.peerDependencies || {}),
options.entries.filter( e => e!==entry )
);