mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 21:42:30 -05:00
Replace babel-preset-es2015 with babel-preset-env
This commit is contained in:
parent
dcae9a249f
commit
906051077f
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@
|
||||||
"babel-loader": "^7.1.0",
|
"babel-loader": "^7.1.0",
|
||||||
"babel-plugin-react-intl": "2.4.0",
|
"babel-plugin-react-intl": "2.4.0",
|
||||||
"babel-plugin-transform-object-rest-spread": "^6.22.0",
|
"babel-plugin-transform-object-rest-spread": "^6.22.0",
|
||||||
"babel-preset-es2015": "^6.22.0",
|
"babel-preset-env": "^1.6.1",
|
||||||
"babel-preset-react": "^6.22.0",
|
"babel-preset-react": "^6.22.0",
|
||||||
"canvas-prebuilt": "^1.6.5-prerelease.1",
|
"canvas-prebuilt": "^1.6.5-prerelease.1",
|
||||||
"classnames": "2.2.5",
|
"classnames": "2.2.5",
|
||||||
|
|
|
@ -19,7 +19,7 @@ const base = {
|
||||||
include: path.resolve(__dirname, 'src'),
|
include: path.resolve(__dirname, 'src'),
|
||||||
options: {
|
options: {
|
||||||
plugins: ['transform-object-rest-spread'],
|
plugins: ['transform-object-rest-spread'],
|
||||||
presets: ['es2015', 'react']
|
presets: [['env', {browsers: ['last 3 versions', 'Safari >= 8', 'iOS >= 8']}], 'react']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue