[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:
Jenne
2025-04-14 09:32:32 -04:00
committed by GitHub
co-authored by Hugo Alliaume
parent 2ab03d62cc
commit bacda33468
2 changed files with 5 additions and 3 deletions
@@ -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())