Fix babel config

This commit is contained in:
Paulus Schoutsen 2018-10-17 09:20:41 +02:00
parent a7684d7206
commit 294360d35a

View File

@ -22,7 +22,7 @@ module.exports.babelLoaderConfig = ({ latestBuild }) => {
], ],
// Used for decorators in typescript // Used for decorators in typescript
["@babel/plugin-proposal-decorators", { legacy: true }], ["@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. // Only support the syntax, Webpack will handle it.
"@babel/syntax-dynamic-import", "@babel/syntax-dynamic-import",
[ [