From 090c76ba20357e3d1153952f928ee9deb4884edc Mon Sep 17 00:00:00 2001
From: Vben <anncwb@126.com>
Date: Thu, 22 Apr 2021 23:29:03 +0800
Subject: [PATCH] chore: vite version downgrade

---
 .github/workflows/ftp-schedule.yml | 22 +++++++++++-----------
 package.json                       |  2 +-
 yarn.lock                          |  8 ++++----
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/.github/workflows/ftp-schedule.yml b/.github/workflows/ftp-schedule.yml
index 74e28a9..fb0df24 100644
--- a/.github/workflows/ftp-schedule.yml
+++ b/.github/workflows/ftp-schedule.yml
@@ -25,17 +25,17 @@ jobs:
         with:
           node-version: '14.x'
 
-      # - name: Get yarn cache
-      #   id: yarn-cache
-      #   run: echo "::set-output name=dir::$(yarn cache dir)"
-
-      # - name: Cache dependencies
-      #   uses: actions/cache@v2
-      #   with:
-      #     path: ${{ steps.yarn-cache.outputs.dir }}
-      #     key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
-      #     restore-keys: |
-      #       ${{ runner.os }}-yarn-
+      - name: Get yarn cache
+        id: yarn-cache
+        run: echo "::set-output name=dir::$(yarn cache dir)"
+
+      - name: Cache dependencies
+        uses: actions/cache@v2
+        with:
+          path: ${{ steps.yarn-cache.outputs.dir }}
+          key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
+          restore-keys: |
+            ${{ runner.os }}-yarn-
 
       - name: Build
         run: |
diff --git a/package.json b/package.json
index 8bf4a27..455d291 100644
--- a/package.json
+++ b/package.json
@@ -110,7 +110,7 @@
     "stylelint-order": "^4.1.0",
     "ts-node": "^9.1.1",
     "typescript": "4.2.4",
-    "vite": "2.2.1",
+    "vite": "2.1.5",
     "vite-plugin-compression": "^0.2.4",
     "vite-plugin-html": "^2.0.7",
     "vite-plugin-imagemin": "^0.3.0",
diff --git a/yarn.lock b/yarn.lock
index 3ebf730..c6dc9f1 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -9307,10 +9307,10 @@ vite-plugin-windicss@0.15.2:
     debug "^4.3.2"
     windicss "^2.5.14"
 
-vite@2.2.1:
-  version "2.2.1"
-  resolved "https://registry.npmjs.org/vite/-/vite-2.2.1.tgz#90c481f69371f32867d86a6a623bb064b876ad3d"
-  integrity sha512-KIqK90EoJJpuqE86Y9DSkZjFNGgsyZX/4I1xENIitLRd3hgRtOlIGCJYrNnBD9/eqipz0OroAiIj9/R1JcOdFA==
+vite@2.1.5:
+  version "2.1.5"
+  resolved "https://registry.npmjs.org/vite/-/vite-2.1.5.tgz#4857da441c62f7982c83cbd5f42a00330f20c9c1"
+  integrity sha512-tYU5iaYeUgQYvK/CNNz3tiJ8vYqPWfCE9IQ7K0iuzYovWw7lzty7KRYGWwV3CQPh0NKxWjOczAqiJsCL0Xb+Og==
   dependencies:
     esbuild "^0.9.3"
     postcss "^8.2.1"
--
libgit2 0.23.3