mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-19 18:54:06 -04:00
Update babel-preset-es2015 to babel-preset-env
Use the common scratch browserlist configuration used for styling and babel transforming in other scratch repositories.
This commit is contained in:
parent
16c6868779
commit
dcb6a3ac56
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ const base = {
|
|||
loader: 'babel-loader',
|
||||
include: path.resolve(__dirname, 'src'),
|
||||
query: {
|
||||
presets: ['es2015']
|
||||
presets: [['env', {targets: {browsers: ['last 3 versions', 'Safari >= 8', 'iOS >= 8']}}]]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue