mirror of
https://github.com/developit/microbundle.git
synced 2026-01-25 14:06:50 +00:00
Fix typo that skipped marking peerDependencies as external
This commit is contained in:
parent
93ac71b1c9
commit
98980643c9
@ -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 )
|
||||
);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user