fix(build): force a compatible baseURL for systemjs-builder
Closes #7167 Closes #7360
This commit is contained in:
parent
016f0d8e9e
commit
e0c83f669e
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue