Skip to content

Commit

Permalink
fix(build): force a compatible baseURL for systemjs-builder
Browse files Browse the repository at this point in the history
Closes #7167

Closes #7360
  • Loading branch information
teropa authored and mhevery committed May 24, 2016
1 parent 016f0d8 commit e0c83f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/build/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module.exports.bundle = function(buildConfig, moduleName, outputFile, outputConf
var Builder = require('systemjs-builder');
var builder = new Builder();
builder.config(buildConfig);
builder.loader.baseURL = 'file:' + process.cwd() + '/';
if (sfx) {
return builder.buildSFX(moduleName, outputFile, outputConfig);
} else {
Expand Down

0 comments on commit e0c83f6

Please sign in to comment.