From a04addf65be877a704de0136fcf3b02aef79fe0c Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 25 Oct 2022 15:53:45 +0800
Subject: [PATCH] 更新依赖

---
 babel.config.js   |   22 ++++++++++++++++++++--
 package-lock.json |   19 +++++--------------
 package.json      |    1 +
 3 files changed, 26 insertions(+), 16 deletions(-)

diff --git a/babel.config.js b/babel.config.js
index d4b2059..8b9b4c2 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,7 +1,25 @@
+/*
+ * @Author: shuishen 1109946754@qq.com
+ * @Date: 2022-10-21 14:09:00
+ * @LastEditors: shuishen 1109946754@qq.com
+ * @LastEditTime: 2022-10-25 15:51:46
+ * @FilePath: \sd-jg-school-web\babel.config.js
+ * @Description:
+ *
+ * Copyright (c) 2022 by shuishen 1109946754@qq.com, All Rights Reserved.
+ */
 module.exports = {
+    // presets: [
+    //     '@vue/cli-plugin-babel/preset'
+    // ],
     presets: [
-        '@vue/cli-plugin-babel/preset'
-    ]
+        '@vue/app'
+    ],
+    env: {
+        development: {
+            plugins: ['dynamic-import-node']
+        }
+    }
 
     // presets: ['@vue/app', {
     //     useBuiltIns: 'entry'
diff --git a/package-lock.json b/package-lock.json
index 3cefdaf..d62b00e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2830,9 +2830,8 @@
         },
         "babel-plugin-dynamic-import-node": {
             "version": "2.3.3",
-            "resolved": "https://registry.npm.taobao.org/babel-plugin-dynamic-import-node/download/babel-plugin-dynamic-import-node-2.3.3.tgz",
-            "integrity": "sha1-hP2hnJduxcbe/vV/lCez3vZuF6M=",
-            "dev": true,
+            "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz",
+            "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==",
             "requires": {
                 "object.assign": "^4.1.0"
             }
@@ -3799,7 +3798,6 @@
             "version": "1.0.2",
             "resolved": "https://registry.npm.taobao.org/call-bind/download/call-bind-1.0.2.tgz?cache=0&sync_timestamp=1610405478355&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcall-bind%2Fdownload%2Fcall-bind-1.0.2.tgz",
             "integrity": "sha1-sdTonmiBGcPJqQOtMKuy9qkZvjw=",
-            "dev": true,
             "requires": {
                 "function-bind": "^1.1.1",
                 "get-intrinsic": "^1.0.2"
@@ -5471,7 +5469,6 @@
             "version": "1.1.3",
             "resolved": "https://registry.npm.taobao.org/define-properties/download/define-properties-1.1.3.tgz",
             "integrity": "sha1-z4jabL7ib+bbcJT2HYcMvYTO6fE=",
-            "dev": true,
             "requires": {
                 "object-keys": "^1.0.12"
             }
@@ -7481,8 +7478,7 @@
         "function-bind": {
             "version": "1.1.1",
             "resolved": "https://registry.npm.taobao.org/function-bind/download/function-bind-1.1.1.tgz",
-            "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=",
-            "dev": true
+            "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0="
         },
         "functional-red-black-tree": {
             "version": "1.0.1",
@@ -7568,7 +7564,6 @@
             "version": "1.1.1",
             "resolved": "https://registry.npm.taobao.org/get-intrinsic/download/get-intrinsic-1.1.1.tgz?cache=0&sync_timestamp=1612364352840&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fget-intrinsic%2Fdownload%2Fget-intrinsic-1.1.1.tgz",
             "integrity": "sha1-FfWfN2+FXERpY5SPDSTNNje0q8Y=",
-            "dev": true,
             "requires": {
                 "function-bind": "^1.1.1",
                 "has": "^1.0.3",
@@ -7909,7 +7904,6 @@
             "version": "1.0.3",
             "resolved": "https://registry.npm.taobao.org/has/download/has-1.0.3.tgz",
             "integrity": "sha1-ci18v8H2qoJB8W3YFOAR4fQeh5Y=",
-            "dev": true,
             "requires": {
                 "function-bind": "^1.1.1"
             }
@@ -7953,8 +7947,7 @@
         "has-symbols": {
             "version": "1.0.2",
             "resolved": "https://registry.npm.taobao.org/has-symbols/download/has-symbols-1.0.2.tgz",
-            "integrity": "sha1-Fl0wcMADCXUqEjakeTMeOsVvFCM=",
-            "dev": true
+            "integrity": "sha1-Fl0wcMADCXUqEjakeTMeOsVvFCM="
         },
         "has-to-string-tag-x": {
             "version": "1.4.1",
@@ -11102,8 +11095,7 @@
         "object-keys": {
             "version": "1.1.1",
             "resolved": "https://registry.npm.taobao.org/object-keys/download/object-keys-1.1.1.tgz",
-            "integrity": "sha1-HEfyct8nfzsdrwYWd9nILiMixg4=",
-            "dev": true
+            "integrity": "sha1-HEfyct8nfzsdrwYWd9nILiMixg4="
         },
         "object-visit": {
             "version": "1.0.1",
@@ -11118,7 +11110,6 @@
             "version": "4.1.2",
             "resolved": "https://registry.npm.taobao.org/object.assign/download/object.assign-4.1.2.tgz?cache=0&sync_timestamp=1604115167242&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject.assign%2Fdownload%2Fobject.assign-4.1.2.tgz",
             "integrity": "sha1-DtVKNC7Os3s4/3brgxoOeIy2OUA=",
-            "dev": true,
             "requires": {
                 "call-bind": "^1.0.0",
                 "define-properties": "^1.1.3",
diff --git a/package.json b/package.json
index 2fe5ea3..89b1dac 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
         "@fullcalendar/timegrid": "^5.10.1",
         "@fullcalendar/vue": "^5.10.1",
         "axios": "^0.22.0",
+        "babel-plugin-dynamic-import-node": "^2.3.3",
         "core-js": "^3.6.5",
         "echarts": "^5.2.1",
         "element-ui": "^2.15.6",

--
Gitblit v1.9.3