Skip to content

Commit eacb91e

Browse files
committed
Update symfony/webpack-encore-bundle recipe
1 parent d62b918 commit eacb91e

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
"ts-loader": "^9.5.1",
1515
"typescript": "^5.7.2",
1616
"webpack": "^5.74.0",
17-
"webpack-cli": "^5.1.0",
18-
"webpack-notifier": "^1.15.0"
17+
"webpack-cli": "^5.1.0"
1918
},
2019
"scripts": {
2120
"serve": "encore dev-server",

symfony.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webpack.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Encore
1717
/*
1818
* ENTRY CONFIG
1919
*
20-
* Each entry will result in one JavaScript file (e.g. dashboard.ts)
20+
* Each entry will result in one JavaScript file (e.g. app.js)
2121
* and one CSS file (e.g. app.css) if your JavaScript imports CSS.
2222
*/
2323
.addEntry('dashboard', './assets/dashboard.ts')
@@ -40,7 +40,10 @@ Encore
4040
* https://symfony.com/doc/current/frontend.html#adding-more-features
4141
*/
4242
.cleanupOutputBeforeBuild()
43+
44+
// Displays build status system notifications to the user
4345
// .enableBuildNotifications()
46+
4447
.enableSourceMaps(!Encore.isProduction())
4548
// enables hashed filenames (e.g. app.abc123.css)
4649
.enableVersioning(Encore.isProduction())

0 commit comments

Comments
 (0)