Skip to content

Conversation

@ale316
Copy link

@ale316 ale316 commented Jun 29, 2016

Currently files required from other bundles imported like follows in Windows:

  bundler.external(['./assets/Master.js']);

will produce require calls as follows in the compiled file:

  var Master = require('/assets\\Master.js');

which will naturally fail. This fix replaces the double slashes with a single slash, like it's done in Browserify.prototype.require

@ale316 ale316 closed this Jun 29, 2016
@ale316 ale316 deleted the patch-1 branch June 29, 2016 14:36
@Oscar-ren
Copy link

excuse me , could you tell me how do you solve this problem?thanks,I don't see the master merge this commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants