Update and configure Webpack Encore
This commit is contained in:
parent
9592df66b9
commit
c98a997407
3 changed files with 1272 additions and 516 deletions
1781
package-lock.json
generated
1781
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -7,7 +7,7 @@
|
|||
],
|
||||
"devDependencies": {
|
||||
"@splidejs/splide": "^4.1.4",
|
||||
"@symfony/webpack-encore": "^3.1.0",
|
||||
"@symfony/webpack-encore": "^4.1.2",
|
||||
"autoprefixer": "^10.4.13",
|
||||
"core-js": "^3.26.1",
|
||||
"postcss-loader": "^7.0.1",
|
||||
|
|
|
@ -29,9 +29,6 @@ Encore
|
|||
.cleanupOutputBeforeBuild()
|
||||
.enableBuildNotifications()
|
||||
.enableSourceMaps(!Encore.isProduction())
|
||||
.configureBabel((config) => {
|
||||
config.plugins.push('@babel/plugin-proposal-class-properties');
|
||||
})
|
||||
.configureBabelPresetEnv((config) => {
|
||||
config.useBuiltIns = 'usage';
|
||||
config.corejs = 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue