mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-09-20 03:27:09 +03:00
982d6864f1
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
27 lines
459 B
Plaintext
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"
|
|
]
|
|
}
|
|
}
|
|
}
|