diff options
author | kumavis <kumavis@users.noreply.github.com> | 2019-03-12 23:55:28 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-03-12 23:55:28 +0800 |
commit | e072a3d993a60bb553cdded957bb5c0910af912e (patch) | |
tree | 571701fcfa8d4311f4b5d411a2a2f2e04e185469 | |
parent | 10691d7d33636eefe40acc694d56cf19ffa7e4ab (diff) | |
download | tangerine-wallet-browser-e072a3d993a60bb553cdded957bb5c0910af912e.tar tangerine-wallet-browser-e072a3d993a60bb553cdded957bb5c0910af912e.tar.gz tangerine-wallet-browser-e072a3d993a60bb553cdded957bb5c0910af912e.tar.bz2 tangerine-wallet-browser-e072a3d993a60bb553cdded957bb5c0910af912e.tar.lz tangerine-wallet-browser-e072a3d993a60bb553cdded957bb5c0910af912e.tar.xz tangerine-wallet-browser-e072a3d993a60bb553cdded957bb5c0910af912e.tar.zst tangerine-wallet-browser-e072a3d993a60bb553cdded957bb5c0910af912e.zip |
build - babel - move config to babelrc (#6284)
-rw-r--r-- | .babelrc | 25 | ||||
-rw-r--r-- | package.json | 24 |
2 files changed, 23 insertions, 26 deletions
@@ -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" + ] +}
\ No newline at end of file diff --git a/package.json b/package.json index fa926abaf..2b288d2ba 100644 --- a/package.json +++ b/package.json @@ -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" ] |