diff --git a/package.json b/package.json index 3d8b769..bcfcb67 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/babel.js b/src/babel.js index 5532751..8b8a98b 100644 --- a/src/babel.js +++ b/src/babel.js @@ -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' @@ -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,