Эх сурвалжийг харах

Fix Babel loose mode warnings

- Add @babel/plugin-transform-private-property-in-object with loose: true
- Add @babel/plugin-transform-private-methods with loose: true
- Match loose mode setting with @babel/plugin-transform-class-properties

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Ryuiso 3 долоо хоног өмнө
parent
commit
8f56657124
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  1. 3 1
      .babelrc

+ 3 - 1
.babelrc

@@ -12,6 +12,8 @@
     "transform-vue-jsx",
     "@babel/plugin-syntax-dynamic-import",
     ["@babel/plugin-proposal-decorators", { "legacy": true }],
-    ["@babel/plugin-proposal-class-properties", { "loose": true }]
+    ["@babel/plugin-proposal-class-properties", { "loose": true }],
+    ["@babel/plugin-transform-private-property-in-object", { "loose": true }],
+    ["@babel/plugin-transform-private-methods", { "loose": true }]
   ]
 }