From 66a33e936d39ec4db7fdffed5d646e044ccc43e9 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Fri, 18 Apr 2025 10:44:39 +0800
Subject: [PATCH] feat
---
babel.config.js | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/babel.config.js b/babel.config.js
index d08883d..d43400a 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,8 +1,10 @@
module.exports = {
presets: [
- '@vue/cli-plugin-babel/preset'
+ // '@vue/cli-plugin-babel/preset',
+ '@babel/preset-env'
],
plugins: [
+ '@babel/plugin-transform-private-methods',
['import', {
libraryName: 'vant',
libraryDirectory: 'es',
@@ -10,5 +12,10 @@
}, 'vant']
]
}
-
-
+// module.exports = {
+// presets: [
+// '@babel/preset-env'
+// ],
+// plugins: [
+// ]
+// };
--
Gitblit v1.9.3