diff --git a/package.json b/package.json index db4b42e..10c4129 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,10 @@ { "devDependencies": { + "@babel/core": "^7.17.0", + "@babel/preset-env": "^7.16.0", "@ecommit/crud-bundle": "link:assets", - "@symfony/webpack-encore": "^3.0", - "core-js": "^3.0.0", + "@symfony/webpack-encore": "^5.0", + "core-js": "^3.38.0", "eslint": "^9.0", "globals": "^15.12", "install": "^0.13.0", @@ -15,7 +17,9 @@ "karma-spec-reporter": "^0.0.32", "karma-webpack": "^5.0", "neostandard": "^0.11.8", - "webpack-notifier": "^1.6.0", + "webpack": "^5.74.0", + "webpack-cli": "^5.1.0", + "webpack-notifier": "^1.15.0", "whatwg-fetch": "^3.6.2" }, "private": true diff --git a/webpack-encore-config.js b/webpack-encore-config.js index 3ece1a5..b8467e5 100644 --- a/webpack-encore-config.js +++ b/webpack-encore-config.js @@ -17,7 +17,7 @@ module.exports = function (outputPath) { .enableVersioning(false) .configureBabelPresetEnv((config) => { config.useBuiltIns = 'usage'; - config.corejs = 3; + config.corejs = '3.38'; }) ;