Guest User

Untitled

a guest
Jan 21st, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. {
  2. "compact": true,
  3. "presets": [
  4. [
  5. "@babel/preset-env",
  6. {
  7. "useBuiltIns": "entry",
  8. "modules": false,
  9. "targets": {
  10. "browsers": ["last 1 versions"]
  11. }
  12. }
  13. ],
  14. "@babel/preset-react",
  15. "@babel/preset-typescript"
  16. ],
  17. "plugins": [
  18. ["@babel/plugin-proposal-decorators", { "legacy": true }],
  19. ["@babel/plugin-proposal-class-properties", { "loose": true }],
  20. "@babel/plugin-proposal-object-rest-spread",
  21. "@babel/plugin-syntax-dynamic-import",
  22. "@babel/plugin-proposal-throw-expressions",
  23. "jaybe-react-loadable/babel",
  24. "babel-plugin-styled-components"
  25. ],
  26. "env": {
  27. "production": {
  28. "plugins": [
  29. ["babel-plugin-styled-components", { "displayName": false }]
  30. ]
  31. },
  32. "test": {
  33. "plugins": [
  34. "@babel/plugin-transform-modules-commonjs",
  35. "dynamic-import-node",
  36. "require-context-hook"
  37. ]
  38. }
  39. }
  40. }
Add Comment
Please, Sign In to add comment