Skip to content

Commit

Permalink
fix(loader): rev should be applied to bundle for systemjs
Browse files Browse the repository at this point in the history
closes #682
  • Loading branch information
JeroenVinke committed Aug 12, 2017
1 parent 7f5e84c commit 691eec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/build/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function shouldIncludeBundleMetadata(bundles, loaderOptions) {
}

function systemJSConfigForBundle(bundle, bundler, location, includeBundles) {
const buildOptions = new Configuration(bundle.config.options, bundler.buildOptions);
const buildOptions = new Configuration(bundle.config.options, bundler.buildOptions.getAllOptions());
const mapTarget = location + '/' + bundle.moduleId + (buildOptions.isApplicable('rev') && bundle.hash ? '-' + bundle.hash : '') + path.extname(bundle.config.name);
const moduleId = bundle.moduleId;
const bundledModuleIds = bundle.getBundledModuleIds();
Expand Down

0 comments on commit 691eec8

Please sign in to comment.