Ver código fonte

去掉校验

tangning 9 meses atrás
pai
commit
b0689ee212
2 arquivos alterados com 2 adições e 2 exclusões
  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",