mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 07:10:05 +02:00
6d5922e399
- better stack traces - disable hmr (for now) - runtime eslint - remove all async/await stuff (untill we actually need it) - reaload when modules change - show full path in compiled requires - ignore node dependencies - don't instantiate plugins unless required
47 lines
823 B
Plaintext
47 lines
823 B
Plaintext
{
|
|
"sourceMaps": "both",
|
|
"presets": [
|
|
"react",
|
|
["env", {
|
|
"targets": {
|
|
"browsers": [
|
|
"last 2 versions"
|
|
]
|
|
}
|
|
}]
|
|
],
|
|
"plugins": [
|
|
"transform-class-properties",
|
|
["transform-object-rest-spread", {
|
|
"useBuiltIns": true
|
|
}],
|
|
["transform-react-jsx", {
|
|
"useBuiltIns": true
|
|
}],
|
|
"transform-es2015-modules-commonjs",
|
|
"transform-exponentiation-operator"
|
|
],
|
|
"env": {
|
|
"development": {
|
|
"plugins": [
|
|
"transform-react-jsx-source",
|
|
"transform-react-jsx-self"
|
|
]
|
|
},
|
|
"test": {
|
|
"presets": [
|
|
["env", {
|
|
"targets": {
|
|
"node": "current"
|
|
}
|
|
}]
|
|
]
|
|
},
|
|
"production": {
|
|
"plugins": [
|
|
"transform-react-constant-elements"
|
|
]
|
|
}
|
|
}
|
|
}
|