Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "compact": true,
- "presets": [
- [
- "@babel/preset-env",
- {
- "useBuiltIns": "entry",
- "modules": false,
- "targets": {
- "browsers": ["last 1 versions"]
- }
- }
- ],
- "@babel/preset-react",
- "@babel/preset-typescript"
- ],
- "plugins": [
- ["@babel/plugin-proposal-decorators", { "legacy": true }],
- ["@babel/plugin-proposal-class-properties", { "loose": true }],
- "@babel/plugin-proposal-object-rest-spread",
- "@babel/plugin-syntax-dynamic-import",
- "@babel/plugin-proposal-throw-expressions",
- "jaybe-react-loadable/babel",
- "babel-plugin-styled-components"
- ],
- "env": {
- "production": {
- "plugins": [
- ["babel-plugin-styled-components", { "displayName": false }]
- ]
- },
- "test": {
- "plugins": [
- "@babel/plugin-transform-modules-commonjs",
- "dynamic-import-node",
- "require-context-hook"
- ]
- }
- }
- }
Add Comment
Please, Sign In to add comment