Skip to content

Commit

Permalink
update webpack settings to generate hashed entry files for karma
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoschenkel committed Sep 30, 2018
1 parent 9603dbb commit 1090843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = env => {
let mode = env.production ? "production" : "development";
let tsconfig = !env.karma ? "tsconfig.json" : "tsconfig.test.json";
let output = env.production ? "dist" : "dist-test";
let filename = env.production ? "robotlegs-phaser-ce-signalcommandmap.min.js" : "robotlegs-phaser-ce-signalcommandmap.js";
let filename = env.karma ? "[name].[hash].js" : (env.production ? "robotlegs-phaser-ce-signalcommandmap.min.js" : "robotlegs-phaser-ce-signalcommandmap.js");

return {
mode: mode,
Expand Down

0 comments on commit 1090843

Please sign in to comment.