mirror of
https://github.com/symfony/recipes.git
synced 2026-09-20 19:46:52 +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",
|
"core-js": "^3.38.0",
|
||||||
"regenerator-runtime": "^0.13.9",
|
"regenerator-runtime": "^0.13.9",
|
||||||
"webpack": "^5.74.0",
|
"webpack": "^5.74.0",
|
||||||
"webpack-cli": "^5.1.0",
|
"webpack-cli": "^5.1.0"
|
||||||
"webpack-notifier": "^1.15.0"
|
|
||||||
},
|
},
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|||||||
@@ -37,7 +37,10 @@ Encore
|
|||||||
* https://symfony.com/doc/current/frontend.html#adding-more-features
|
* https://symfony.com/doc/current/frontend.html#adding-more-features
|
||||||
*/
|
*/
|
||||||
.cleanupOutputBeforeBuild()
|
.cleanupOutputBeforeBuild()
|
||||||
.enableBuildNotifications()
|
|
||||||
|
// Displays build status system notifications to the user
|
||||||
|
// .enableBuildNotifications()
|
||||||
|
|
||||||
.enableSourceMaps(!Encore.isProduction())
|
.enableSourceMaps(!Encore.isProduction())
|
||||||
// enables hashed filenames (e.g. app.abc123.css)
|
// enables hashed filenames (e.g. app.abc123.css)
|
||||||
.enableVersioning(Encore.isProduction())
|
.enableVersioning(Encore.isProduction())
|
||||||
|
|||||||
Reference in New Issue
Block a user