Skip to content

Commit

Permalink
fix: fix conflicting class properties with typescript preset
Browse files Browse the repository at this point in the history
  • Loading branch information
osdevisnot committed Sep 11, 2020
1 parent 52aa4bb commit c9052e7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
},
"devDependencies": {
"@babel/core": "7.11.6",
"@babel/plugin-proposal-class-properties": "7.10.4",
"@babel/plugin-proposal-decorators": "7.10.5",
"@babel/plugin-proposal-object-rest-spread": "7.11.0",
"@babel/plugin-transform-regenerator": "7.10.4",
Expand Down
2 changes: 0 additions & 2 deletions src/babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import presetReact from '@babel/preset-react'
import pluginDevExpression from 'babel-plugin-dev-expression'
import pluginAsyncToPromise from 'babel-plugin-transform-async-to-promises'
import pluginDecorators from '@babel/plugin-proposal-decorators'
import pluginClassProperties from '@babel/plugin-proposal-class-properties'
import pluginTransformRegen from '@babel/plugin-transform-regenerator'
import pluginStyledComponents from 'babel-plugin-styled-components'
import pluginEmotion from 'babel-plugin-emotion'
Expand Down Expand Up @@ -67,7 +66,6 @@ export const babelConfig = (command, pkg, options) => {
pluginDevExpression,
[pluginAsyncToPromise, { inlineHelpers: true, externalHelpers: true }],
[pluginDecorators, { legacy: true }],
[pluginClassProperties, { loose: true }],
[pluginTransformRegen, { async: false }],
useStyledComponents && pluginStyledComponents,
useEmotion && pluginEmotion,
Expand Down

0 comments on commit c9052e7

Please sign in to comment.