react-table-pro
Version:
44 lines (43 loc) • 1.25 kB
Plain Text
{
"presets": [
"@babel/preset-env",
"@babel/preset-react",
"@babel/preset-flow"
],
"plugins": [
// for preact's pragma
// ["@babel/plugin-transform-react-jsx", { "pragma":"h" }],
// ["babel-plugin-jsx-pragmatic", {
// "module": "preact",
// "import": "h",
// "export": "h"
// }],
"@babel/plugin-transform-strict-mode",
"@babel/plugin-transform-runtime",
"babel-plugin-transform-class-properties",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-throw-expressions",
"@babel/plugin-syntax-dynamic-import"
],
"env": {
"development": {
"plugins": [
// [
// "@babel/plugin-proposal-decorators",
// {
// "legacy": true
// }
// ],
[
"babel-plugin-flow-runtime",
{
"warn": false,
"optInOnly": false,
"assert": true,
"annotate": true
}
]
]
}
}
}