mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
[webpack-encore-bundle] Disable build notifications by default (#1353)
* Commented for config and removed dependency in package * Update symfony/webpack-encore-bundle/2.0/webpack.config.js Co-authored-by: Hugo Alliaume <hugo@alliau.me> --------- Co-authored-by: Hugo Alliaume <hugo@alliau.me>
This commit is contained in:
@@ -6,8 +6,7 @@
|
||||
"core-js": "^3.38.0",
|
||||
"regenerator-runtime": "^0.13.9",
|
||||
"webpack": "^5.74.0",
|
||||
"webpack-cli": "^5.1.0",
|
||||
"webpack-notifier": "^1.15.0"
|
||||
"webpack-cli": "^5.1.0"
|
||||
},
|
||||
"license": "UNLICENSED",
|
||||
"private": true,
|
||||
|
||||
@@ -37,7 +37,10 @@ Encore
|
||||
* https://symfony.com/doc/current/frontend.html#adding-more-features
|
||||
*/
|
||||
.cleanupOutputBeforeBuild()
|
||||
.enableBuildNotifications()
|
||||
|
||||
// Displays build status system notifications to the user
|
||||
// .enableBuildNotifications()
|
||||
|
||||
.enableSourceMaps(!Encore.isProduction())
|
||||
// enables hashed filenames (e.g. app.abc123.css)
|
||||
.enableVersioning(Encore.isProduction())
|
||||
|
||||
Reference in New Issue
Block a user