From 294360d35aa7588aec1733f30f2d8501cb340c91 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 17 Oct 2018 09:20:41 +0200 Subject: [PATCH] Fix babel config --- config/babel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/babel.js b/config/babel.js index 950e3f716d..7bc97d51d5 100644 --- a/config/babel.js +++ b/config/babel.js @@ -22,7 +22,7 @@ module.exports.babelLoaderConfig = ({ latestBuild }) => { ], // Used for decorators in typescript ["@babel/plugin-proposal-decorators", { legacy: true }], - "@babel/plugin-proposal-class-properties", + ["@babel/plugin-proposal-class-properties", { loose: true }], // Only support the syntax, Webpack will handle it. "@babel/syntax-dynamic-import", [