mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2024-12-22 14:02:29 -05:00
Replace babel-preset-es2015 with babel-preset-env
This commit is contained in:
parent
a9182ab10e
commit
ee5aafc862
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@
|
||||||
"babel-core": "^6.24.1",
|
"babel-core": "^6.24.1",
|
||||||
"babel-eslint": "^7.2.2",
|
"babel-eslint": "^7.2.2",
|
||||||
"babel-loader": "^7.1.4",
|
"babel-loader": "^7.1.4",
|
||||||
"babel-preset-es2015": "^6.24.1",
|
"babel-preset-env": "^1.6.1",
|
||||||
"eslint": "^3.19.0",
|
"eslint": "^3.19.0",
|
||||||
"eslint-config-scratch": "^3.1.0",
|
"eslint-config-scratch": "^3.1.0",
|
||||||
"json": "^9.0.6",
|
"json": "^9.0.6",
|
||||||
|
|
|
@ -18,7 +18,7 @@ module.exports = {
|
||||||
include: path.resolve(__dirname, 'src'),
|
include: path.resolve(__dirname, 'src'),
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
options: {
|
options: {
|
||||||
presets: ['es2015']
|
presets: [['env', {targets: {browsers: ['last 3 versions', 'Safari >= 8', 'iOS >= 8']}}]]
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue