Skip to content

Commit

Permalink
Improve the comment in the generated config file
Browse files Browse the repository at this point in the history
  • Loading branch information
fracz committed Jul 10, 2017
1 parent 4098dbf commit 308aa9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Frontend/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ if (process.env.NODE_ENV === 'production') {
// https://webpack.github.io/docs/long-term-caching.html#get-filenames-from-stats
this.plugin("done", function (stats) {
var hashes = stats.toJson().assetsByChunkName;
var phpConfig = "# Config generated automatically by running npm run build in src/Frontend directory.\n\nsupla:\n";
var phpConfig = "# Config generated automatically by running composer run-script webpack\n\nsupla:\n";
phpConfig += ' version: ' + (require('./package.json').version) + "\n";
phpConfig += ' webpack_hashes:\n';
for (var chunkName in hashes) {
Expand Down

0 comments on commit 308aa9b

Please sign in to comment.