aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--webpack.config.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js
index a845375..540418d 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -25,7 +25,12 @@ config = {
loader: 'babel-loader',
options: {
presets: [
- { plugins: ['@babel/plugin-proposal-class-properties'] },
+ {
+ plugins: [
+ ["@babel/plugin-proposal-decorators", { "legacy": true }],
+ '@babel/plugin-proposal-class-properties'
+ ]
+ },
'@babel/react',
'@babel/preset-typescript'
]