diff --git a/config/rollup.config.js b/config/rollup.config.js index 7708115..13aa03e 100644 --- a/config/rollup.config.js +++ b/config/rollup.config.js @@ -45,10 +45,10 @@ export default { ], babelrc: false, plugins: [ - //'transform-react-remove-prop-types', + ['transform-react-remove-prop-types', { mode: 'unsafe-wrap' }], 'external-helpers', 'transform-object-rest-spread', - 'transform-class-properties' + ['transform-class-properties', { loose: true }] ] }) ]