mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 13:32:28 -05:00
Merge pull request #426 from mzgoddard/babel-preset-env
Replace babel-preset-es2015 with babel-preset-env
This commit is contained in:
commit
a75262463b
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@
|
||||||
"babel-loader": "^7.1.4",
|
"babel-loader": "^7.1.4",
|
||||||
"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",
|
||||||
|
|
|
@ -20,7 +20,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