Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
Update function getBundles() in export-release.js
Browse files Browse the repository at this point in the history
This fixes issue #409, where bundled javascript files with `rev: true` set on the bundle are not copied to the export directory. This solution adds a single wildcard character into the glob that ensures files with a thumbprint ID in their name are included in the export-copy task. e.g. currently this file is copied correctly:

aurelia.js

...but this file is not copied:

aurelia-c440bb4410.js

This PR adds a wildcard char to the glob that ensures both filenames would be copied to the export correctly.
  • Loading branch information
toddwprice committed May 2, 2016
1 parent 6ad95ff commit a289103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skeleton-es2016/build/tasks/export-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ gulp.task('clean-export', function() {
function getBundles() {
var bl = [];
for (var b in bundles.bundles) {
bl.push(b + '.js');
bl.push(b + '*.js');
}
return bl;
}
Expand Down

0 comments on commit a289103

Please sign in to comment.