Skip to content

Commit

Permalink
prod build cache buster
Browse files Browse the repository at this point in the history
  • Loading branch information
ludohenin committed Feb 16, 2016
1 parent fc10ea4 commit 36cbf20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/tasks/build.index.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export = function buildIndexProd(gulp, plugins) {
}), {
transform: function (filepath) {
let path = normalize(filepath).split(sep);
arguments[0] = path.slice(path.length - 2, path.length).join(sep);
arguments[0] = path.slice(path.length - 2, path.length).join(sep) + `?${Date.now()}`;
return plugins.inject.transform.apply(plugins.inject.transform, arguments);
}
});
Expand Down

0 comments on commit 36cbf20

Please sign in to comment.