.babelrc 327 B

12345678910111213141516171819
  1. {
  2. "presets": [
  3. "@babel/preset-env",
  4. "@babel/typescript"
  5. ],
  6. "env": {
  7. "production": {
  8. "presets": [
  9. "minify"
  10. ]
  11. }
  12. },
  13. "plugins": [
  14. "@babel/plugin-proposal-nullish-coalescing-operator",
  15. "@babel/plugin-proposal-optional-chaining",
  16. ["@babel/plugin-transform-runtime"],
  17. ],
  18. }