Skip to content

Commit

Permalink
Merge pull request #3390 from acrobat/update-encore-package-json
Browse files Browse the repository at this point in the history
[GeneratorBundle] Update encore package.json for webpack-encore-bundle 2
  • Loading branch information
acrobat authored Apr 11, 2024
2 parents c35bef5 + b99fa42 commit 55c003f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,28 +33,29 @@
},
"devDependencies": {
"@babel/core": "^7.19.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.19.1",
"@kunstmaan/eslint-config": "^3.0.0",
"@kunstmaan/stylelint-config": "^3.0.0",
"@symfony/webpack-encore": "^4.0.0",
"autoprefixer": "^10.4.2",
"core-js": "^3.19.2",
"core-js": "^3.23.0",
"eslint": "^8.8.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.4",
"eslint-webpack-plugin": "^3.1.1",
{% if demosite %}"exports-loader": "^0.7.0",
{% endif %}"file-loader": "^6.2.0",
"exports-loader": "^0.7.0",
"file-loader": "^6.2.0",
"postcss": "^8.3.7",
"postcss-loader": "^7.0.1",
"regenerator-runtime": "^0.13.2",
"regenerator-runtime": "^0.13.9",
"sass": "^1.42.0",
"sass-loader": "^13.0.2",
"stylelint": "^14.4.0",
"stylelint-webpack-plugin": "^2.2.2",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-notifier": "^1.6.0"
"webpack-notifier": "^1.15.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ Encore
files: ['./assets/**/*.scss'],
}))

.configureBabel((config) => {
config.plugins.push('@babel/plugin-proposal-class-properties');
})

// enables @babel/preset-env polyfills
.configureBabelPresetEnv((config) => {
// eslint-disable-next-line no-param-reassign
Expand Down

0 comments on commit 55c003f

Please sign in to comment.