Browse Source

doh

gh-438-b
Rich Harris 9 years ago
parent
commit
e53bd850e7
  1. 2
      src/Bundle.js

2
src/Bundle.js

@ -173,7 +173,7 @@ export default class Bundle {
return Promise.resolve( this.resolveId( source, module.id ) )
.then( resolvedId => {
// If the `resolvedId` is supposed to be external, make it so.
const forcedExternal = ~this.external.indexOf( resolvedId.replace( /[\/\\]/g, '/' ) );
const forcedExternal = resolvedId && ~this.external.indexOf( resolvedId.replace( /[\/\\]/g, '/' ) );
if ( !resolvedId || forcedExternal ) {
if ( !forcedExternal ) {

Loading…
Cancel
Save