Skip to content

Commit

Permalink
Create licenses on start
Browse files Browse the repository at this point in the history
  • Loading branch information
olleih committed Oct 26, 2024
1 parent ef9343d commit e81cd32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test:e2e": "npm run wait && cypress run",
"test": "npm run test:unit && npm run test:e2e",
"build": "npm run licensesjson:create && webpack",
"start": "webpack serve --open",
"start": "npm run licensesjson:create && webpack serve --open",
"wait": "wait-on http://localhost:8080/version && wait-on http://localhost:8082"
},
"author": "",
Expand Down
3 changes: 1 addition & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,9 @@ module.exports = {
{
from: path.resolve(__dirname, 'licenses.json'),
to: path.resolve(__dirname, 'dist'),
}
},
],
}),

new webpack.DefinePlugin({
COMMIT_HASH: JSON.stringify(commitHash),
}),
Expand Down

0 comments on commit e81cd32

Please sign in to comment.