prepack/.babelrc
Wuhan Zhou 982d6864f1 Add yarn command to build debugger
Summary:
Release note: none

The debugger needs to be built differently from the rest of Prepack to be compatible with Nuclide. This PR makes building the debugger into a separate command while still keeping the original command to build Prepack.
- make separate envs for building debugger and the rest of Prepack
- add `yarn build-debugger` command
Closes https://github.com/facebook/prepack/pull/1240

Differential Revision: D6534794

Pulled By: JWZ2018

fbshipit-source-id: 384dfbb7d77d46564e028c00a79e97b3657616b5
2017-12-11 15:39:24 -08:00

27 lines
459 B
Plaintext

{
"env": {
"development": {
"presets": [
"env",
"react"
],
"plugins": [
"transform-class-properties",
"transform-object-rest-spread"
]
},
"debugger": {
"presets": [["env", {
"targets": {
"node": "current"
}
}],
"react"],
"plugins": [
"transform-class-properties",
"transform-object-rest-spread"
]
}
}
}