Browse Source

gah windows

semi-dynamic-namespace-imports
Rich-Harris 9 years ago
parent
commit
cf4d914c11
  1. 2
      src/Bundle.js

2
src/Bundle.js

@ -64,7 +64,7 @@ export default class Bundle {
if ( typeof options.external === 'function' ) {
this.isExternal = options.external;
} else {
const ids = ensureArray( options.external ).map( id => id.replace( /[\/\\]/g, '/' ) );
const ids = ensureArray( options.external );
this.isExternal = id => ids.indexOf( id ) !== -1;
}

Loading…
Cancel
Save