.babelrc 918 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "comments": true,
  3. "plugins": [
  4. "lodash",
  5. "graphql-tag",
  6. "@babel/plugin-syntax-dynamic-import",
  7. "@babel/plugin-syntax-import-meta",
  8. "@babel/plugin-proposal-class-properties",
  9. "@babel/plugin-proposal-json-strings",
  10. [
  11. "@babel/plugin-proposal-decorators",
  12. {
  13. "legacy": true
  14. }
  15. ],
  16. "@babel/plugin-proposal-function-sent",
  17. "@babel/plugin-proposal-export-namespace-from",
  18. "@babel/plugin-proposal-numeric-separator",
  19. "@babel/plugin-proposal-throw-expressions",
  20. [
  21. "prismjs", {
  22. "languages": ["clike", "markup"],
  23. "plugins": ["line-numbers", "autoloader", "normalize-whitespace", "copy-to-clipboard", "toolbar"],
  24. "theme": "twilight",
  25. "css": true
  26. }
  27. ]
  28. ],
  29. "presets": [
  30. [
  31. "@babel/preset-env", {
  32. "useBuiltIns": "entry",
  33. "corejs": 3,
  34. "debug": false
  35. }
  36. ]
  37. ]
  38. }