Skip to content

Commit

Permalink
fix(systemjs-bundling): include dependency name in bundle config
Browse files Browse the repository at this point in the history
`Bundle.getBundledModuleIds` was only returning the ids of the traced files in the case of a package dependency. This change modifies `DependencyInclusion` to include the actual package name in the module ids for the dependency.

closes #676
  • Loading branch information
simonfox committed Jul 16, 2017
1 parent 734fc9d commit d36f2ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/build/dependency-inclusion.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ exports.DependencyInclusion = class {
}

getAllModuleIds() {
return this.items.map(x => x.moduleId);
return [this.description.name].concat(this.items.map(x => x.moduleId));
}

getAllFiles() {
Expand Down

0 comments on commit d36f2ae

Please sign in to comment.