From 8781571fdc942db5f0c3124e937271fc8cbec3dc Mon Sep 17 00:00:00 2001 From: xingyu Date: Tue, 20 Dec 2022 09:50:06 +0800 Subject: [PATCH] chore: add plugin-legacy --- .husky/pre-commit | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index a6a2318..9a37df9 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -4,5 +4,5 @@ [ -n "$CI" ] && exit 0 # Format and submit code according to lintstagedrc.js configuration -npm run ts:check +# npm run ts:check npm run lint:lint-staged diff --git a/package.json b/package.json index 4482986..2bb0829 100644 --- a/package.json +++ b/package.json @@ -66,6 +66,7 @@ "@types/qs": "^6.9.7", "@typescript-eslint/eslint-plugin": "^5.47.0", "@typescript-eslint/parser": "^5.47.0", + "@vitejs/plugin-legacy": "^3.0.1", "@vitejs/plugin-vue": "^4.0.0", "@vitejs/plugin-vue-jsx": "^3.0.0", "autoprefixer": "^10.4.13",