File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
symfony/webpack-encore-bundle/1.0 Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"devDependencies" : {
3
- "@symfony/webpack-encore" : " ^0.22.0" ,
3
+ "@symfony/webpack-encore" : " ^0.26.0" ,
4
+ "core-js" : " ^3.0.0" ,
4
5
"webpack-notifier" : " ^1.6.0"
5
6
},
6
7
"license" : " UNLICENSED" ,
Original file line number Diff line number Diff line change @@ -41,12 +41,22 @@ Encore
41
41
// enables hashed filenames (e.g. app.abc123.css)
42
42
. enableVersioning ( Encore . isProduction ( ) )
43
43
44
+ // enables @babel /preset-env polyfills
45
+ . configureBabel ( ( ) => { } , {
46
+ useBuiltIns : 'usage' ,
47
+ corejs : 3
48
+ } )
49
+
44
50
// enables Sass/SCSS support
45
51
//.enableSassLoader()
46
52
47
53
// uncomment if you use TypeScript
48
54
//.enableTypeScriptLoader()
49
55
56
+ // uncomment to get integrity="..." attributes on your script & link tags
57
+ // requires WebpackEncoreBundle 1.4 or higher
58
+ //.enableIntegrityHashes()
59
+
50
60
// uncomment if you're having problems with a jQuery plugin
51
61
//.autoProvidejQuery()
52
62
You can’t perform that action at this time.
0 commit comments