Skip to content

Commit

Permalink
[WebpackEncoreBundle] Update recipe for Webpack Encore 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal committed Sep 26, 2024
1 parent 4590420 commit 86f6892
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions symfony/webpack-encore-bundle/2.0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"devDependencies": {
"@babel/core": "^7.17.0",
"@babel/preset-env": "^7.16.0",
"@symfony/webpack-encore": "^4.0.0",
"core-js": "^3.23.0",
"@symfony/webpack-encore": "^5.0.0",
"core-js": "^3.38.0",
"regenerator-runtime": "^0.13.9",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-cli": "^5.1.0",
"webpack-notifier": "^1.15.0"
},
"license": "UNLICENSED",
Expand Down
2 changes: 1 addition & 1 deletion symfony/webpack-encore-bundle/2.0/post-install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

* Compile your assets: <fg=green>npm run dev</>

* Or start the development server: <fg=green>npm run watch</>
* Or start the development server: <fg=green>npm run dev-server</>
2 changes: 1 addition & 1 deletion symfony/webpack-encore-bundle/2.0/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Encore
// enables and configure @babel/preset-env polyfills
.configureBabelPresetEnv((config) => {
config.useBuiltIns = 'usage';
config.corejs = '3.23';
config.corejs = '3.38';
})

// enables Sass/SCSS support
Expand Down

0 comments on commit 86f6892

Please sign in to comment.