瀏覽代碼

去掉校验

tangning 9 月之前
父節點
當前提交
b0689ee212
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      package.json
  2. 1 1
      tsconfig.json

+ 1 - 1
package.json

@@ -4,7 +4,7 @@
   "license": "MIT",
   "scripts": {
     "dev": "vite --host=0.0.0.0",
-    "build": "npm run validate:types && vite build",
+    "build": "vite build",
     "validate:types": "vue-tsc --noEmit",
     "serve": "vite preview",
     "test": "vitest run --silent",

+ 1 - 1
tsconfig.json

@@ -1,7 +1,7 @@
 {
   "compilerOptions": {
     "outDir": "./dist",
-    "skipLibCheck": true,
+    "skipLibCheck": false,
     "target": "esnext",
     "useDefineForClassFields": true,
     "module": "esnext",