1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

build - babel - move config to babelrc (#6284)

This commit is contained in:
kumavis 2019-03-12 23:55:28 +08:00 committed by Whymarrh Whitby
parent 10691d7d33
commit e072a3d993
2 changed files with 23 additions and 26 deletions

View File

@ -1,4 +1,23 @@
{
"presets": [["env", { "targets": { "browsers": [">0.25%", "not ie 11", "not op_mini all"] } } ], "react", "stage-0"],
"plugins": ["transform-runtime", "transform-async-to-generator", "transform-class-properties"]
"presets": [
[
"env",
{
"targets": {
"browsers": [
">0.25%",
"not ie 11",
"not op_mini all"
]
}
}
],
"react",
"stage-0"
],
"plugins": [
"transform-runtime",
"transform-async-to-generator",
"transform-class-properties"
]
}

View File

@ -40,29 +40,7 @@
},
"browserify": {
"transform": [
[
"babelify",
{
"presets": [
[
"env",
{
"browsers": [
">0.25%",
"not ie 11",
"not op_mini all"
]
}
],
"stage-0"
]
},
{
"plugins": [
"transform-class-properties"
]
}
],
"babelify",
"reactify",
"brfs"
]