Skip to content

Commit d36f2ae

Browse files
committed
fix(systemjs-bundling): include dependency name in bundle config
`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
1 parent 734fc9d commit d36f2ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/build/dependency-inclusion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ exports.DependencyInclusion = class {
6060
}
6161

6262
getAllModuleIds() {
63-
return this.items.map(x => x.moduleId);
63+
return [this.description.name].concat(this.items.map(x => x.moduleId));
6464
}
6565

6666
getAllFiles() {

0 commit comments

Comments
 (0)