mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-30 14:49:55 +02:00
Updated webpack-encore recipe
This commit is contained in:
parent
50f4c01e99
commit
7d96b2a611
2 changed files with 7 additions and 4 deletions
|
@ -795,12 +795,12 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/webpack-encore-bundle": {
|
"symfony/webpack-encore-bundle": {
|
||||||
"version": "2.1",
|
"version": "2.2",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "2.0",
|
"version": "2.0",
|
||||||
"ref": "082d754b3bd54b3fc669f278f1eea955cfd23cf5"
|
"ref": "9ef5412a4a2a8415aca3a3f2b4edd3866aab9a19"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"assets/app.js",
|
"assets/app.js",
|
||||||
|
|
|
@ -86,7 +86,10 @@ Encore
|
||||||
* https://symfony.com/doc/current/frontend.html#adding-more-features
|
* https://symfony.com/doc/current/frontend.html#adding-more-features
|
||||||
*/
|
*/
|
||||||
.cleanupOutputBeforeBuild()
|
.cleanupOutputBeforeBuild()
|
||||||
.enableBuildNotifications()
|
|
||||||
|
// Displays build status system notifications to the user
|
||||||
|
// .enableBuildNotifications()
|
||||||
|
|
||||||
.enableSourceMaps(!Encore.isProduction())
|
.enableSourceMaps(!Encore.isProduction())
|
||||||
// enables hashed filenames (e.g. app.abc123.css)
|
// enables hashed filenames (e.g. app.abc123.css)
|
||||||
//.enableVersioning(Encore.isProduction())
|
//.enableVersioning(Encore.isProduction())
|
||||||
|
@ -102,7 +105,7 @@ Encore
|
||||||
// enables and configure @babel/preset-env polyfills
|
// enables and configure @babel/preset-env polyfills
|
||||||
.configureBabelPresetEnv((config) => {
|
.configureBabelPresetEnv((config) => {
|
||||||
config.useBuiltIns = 'usage';
|
config.useBuiltIns = 'usage';
|
||||||
config.corejs = '3.23';
|
config.corejs = '3.38';
|
||||||
})
|
})
|
||||||
// enables Sass/SCSS support
|
// enables Sass/SCSS support
|
||||||
//.enableSassLoader()
|
//.enableSassLoader()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue