diff --git a/babel.config.js b/babel.config.js index aab76c8a..321c4ed1 100644 --- a/babel.config.js +++ b/babel.config.js @@ -12,8 +12,8 @@ module.exports = { require('@babel/preset-typescript'), ], plugins: [ - require('@babel/plugin-proposal-class-properties'), - require('@babel/plugin-proposal-object-rest-spread'), + require('@babel/plugin-transform-class-properties'), + require('@babel/plugin-transform-object-rest-spread'), ['@babel/plugin-transform-modules-commonjs', { allowTopLevelThis: true }], [require('@babel/plugin-transform-runtime'), { regenerator: true }], ], diff --git a/package.json b/package.json index 5102c605..a3d43970 100644 --- a/package.json +++ b/package.json @@ -88,4 +88,4 @@ "debug": "^4.3.4", "browserify-sign": "^4.2.2" } -} \ No newline at end of file +}