mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 16:26:43 +00:00
Fix babel config
This commit is contained in:
parent
a7684d7206
commit
294360d35a
@ -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",
|
||||||
[
|
[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user