Merge pull request #557

This commit is contained in:
symfony-flex-server[bot]
2019-03-29 17:32:37 +00:00
committed by GitHub
2 changed files with 12 additions and 1 deletions
@@ -1,6 +1,7 @@
{
"devDependencies": {
"@symfony/webpack-encore": "^0.22.0",
"@symfony/webpack-encore": "^0.26.0",
"core-js": "^3.0.0",
"webpack-notifier": "^1.6.0"
},
"license": "UNLICENSED",
@@ -41,12 +41,22 @@ Encore
// enables hashed filenames (e.g. app.abc123.css)
.enableVersioning(Encore.isProduction())
// enables @babel/preset-env polyfills
.configureBabel(() => {}, {
useBuiltIns: 'usage',
corejs: 3
})
// enables Sass/SCSS support
//.enableSassLoader()
// uncomment if you use TypeScript
//.enableTypeScriptLoader()
// uncomment to get integrity="..." attributes on your script & link tags
// requires WebpackEncoreBundle 1.4 or higher
//.enableIntegrityHashes()
// uncomment if you're having problems with a jQuery plugin
//.autoProvidejQuery()