mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-24 11:39:18 -05:00
6af15cc9d4
This uses external modules for all the babel helpers which leads to a smaller binary.
53 lines
1.1 KiB
Plaintext
53 lines
1.1 KiB
Plaintext
{
|
|
"env": {
|
|
"production": {
|
|
"presets": ["react", "es2015"],
|
|
"plugins": [
|
|
"syntax-async-functions",
|
|
"syntax-flow",
|
|
"transform-class-properties",
|
|
"transform-regenerator",
|
|
[
|
|
"transform-runtime", {
|
|
"polyfill": false,
|
|
"regenerator": true
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"development": {
|
|
"presets": ["react"],
|
|
"plugins": [
|
|
"syntax-async-functions",
|
|
"syntax-flow",
|
|
"transform-async-to-generator",
|
|
"transform-class-properties",
|
|
"transform-es2015-destructuring",
|
|
"transform-es2015-modules-commonjs",
|
|
"transform-es2015-parameters",
|
|
[
|
|
"transform-runtime", {
|
|
"polyfill": false,
|
|
"regenerator": true
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"es6": {
|
|
"presets": ["react"],
|
|
"plugins": [
|
|
"syntax-async-functions",
|
|
"syntax-flow",
|
|
"transform-async-to-generator",
|
|
"transform-class-properties",
|
|
[
|
|
"transform-runtime", {
|
|
"polyfill": false,
|
|
"regenerator": true
|
|
}
|
|
]
|
|
]
|
|
},
|
|
}
|
|
}
|