提交 168c9bbc authored 作者: vipcxj's avatar vipcxj

fix: babel config.

上级 4bd51853
...@@ -6,7 +6,9 @@ const plugins = [ ...@@ -6,7 +6,9 @@ const plugins = [
'@babel/plugin-proposal-object-rest-spread', '@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-optional-catch-binding', '@babel/plugin-proposal-optional-catch-binding',
'@babel/plugin-proposal-async-generator-functions', '@babel/plugin-proposal-async-generator-functions',
'@babel/plugin-proposal-decorators', ['@babel/plugin-proposal-decorators', {
legacy: true,
}],
['@babel/proposal-class-properties', { ['@babel/proposal-class-properties', {
loose: true, loose: true,
}], }],
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论