From 3ca3064df8aafd7a50a267dfcd67cd4435b133e8 Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Sun, 26 Feb 2023 23:51:58 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- tsconfig.json | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index b95fbb1..3ff52cf 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,6 @@ "@commitlint/cli": "^16.2.3", "@commitlint/config-conventional": "^16.2.1", "@iconify-json/ep": "^1.1.8", - "@types/node": "^16.11.7", "@types/nprogress": "^0.2.0", "@types/path-browserify": "^1.0.0", "@typescript-eslint/eslint-plugin": "^5.19.0", @@ -52,6 +51,7 @@ "prettier": "^2.6.2", "sass": "^1.53.0", "typescript": "^4.7.4", + "unocss": "^0.50.1", "unplugin-auto-import": "^0.13.0", "unplugin-icons": "^0.15.1", "unplugin-vue-components": "^0.23.0", diff --git a/tsconfig.json b/tsconfig.json index 771a2b4..0944b22 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,10 +18,7 @@ "skipLibCheck": true /* Skip type checking all .d.ts files. */, "allowSyntheticDefaultImports": true /* 允许默认导入 */, "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, - "typeRoots": [ - "./node_modules/@types/", - "src/types" - ] /* 指定多个文件夹,这些文件夹的作用类似于 './node_modules/@types'. */ + }, "include": ["src/**/*.ts", "src/**/*.vue", "src/types/**/*.d.ts"], "exclude": ["node_modules", "dist", "**/*.js"]