Skip to content

Commit bacda33

Browse files
jennevdmeerKocal
andauthored
[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>
1 parent 2ab03d6 commit bacda33

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

symfony/webpack-encore-bundle/2.0/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"core-js": "^3.38.0",
77
"regenerator-runtime": "^0.13.9",
88
"webpack": "^5.74.0",
9-
"webpack-cli": "^5.1.0",
10-
"webpack-notifier": "^1.15.0"
9+
"webpack-cli": "^5.1.0"
1110
},
1211
"license": "UNLICENSED",
1312
"private": true,

symfony/webpack-encore-bundle/2.0/webpack.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ Encore
3737
* https://symfony.com/doc/current/frontend.html#adding-more-features
3838
*/
3939
.cleanupOutputBeforeBuild()
40-
.enableBuildNotifications()
40+
41+
// Displays build status system notifications to the user
42+
// .enableBuildNotifications()
43+
4144
.enableSourceMaps(!Encore.isProduction())
4245
// enables hashed filenames (e.g. app.abc123.css)
4346
.enableVersioning(Encore.isProduction())

0 commit comments

Comments
 (0)