Permalink
Browse files

fix(loader): rev should be applied to bundle for systemjs

closes #682
  • Loading branch information...
JeroenVinke committed Aug 12, 2017
1 parent 7f5e84c commit 691eec83d75c15ce8281368de0e8ffec5aed1e92
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/build/loader.js
View
@@ -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();

0 comments on commit 691eec8

Please sign in to comment.