Commit 4c8b395f authored by lihaihan's avatar lihaihan

去掉类型检查用于发布

parent 24af1c92
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"start": "npm run dev", "start": "npm run dev",
"build": "vue-tsc --noEmit && vite build --mode production", "build": "vite build --mode production",
"build:sit": "vue-tsc --noEmit && vite build --mode sit", "build:sit": "vue-tsc --noEmit && vite build --mode sit",
"serve": "vite preview" "serve": "vite preview"
}, },
......
import { App, Plugin } from 'vue' import { App, Plugin } from 'vue'
import dayjs from 'dayjs' import dayjs from 'dayjs'
import ch from 'dayjs/locale/zh-cn' import ch from 'dayjs/locale/zh-cn'
import LocalizedFormat from 'dayjs/plugin/LocalizedFormat' import LocalizedFormat from 'dayjs/plugin/LocalizedFormat.js'
dayjs.extend(LocalizedFormat) dayjs.extend(LocalizedFormat)
dayjs.locale(ch) dayjs.locale(ch)
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
"jsx": "preserve", "jsx": "preserve",
"sourceMap": true, "sourceMap": true,
"baseUrl": ".", "baseUrl": ".",
"allowSyntheticDefaultImports": true,
"lib": ["esnext", "dom"], "lib": ["esnext", "dom"],
"noImplicitAny": false, "noImplicitAny": false,
"paths": { "paths": {
...@@ -17,6 +16,6 @@ ...@@ -17,6 +16,6 @@
"@images/*": ["src/assets/images/*"] "@images/*": ["src/assets/images/*"]
} }
}, },
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue","node_modules/dayjs"], "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"exclude": ["node_modules", "dist", "public"] "exclude": ["node_modules", "dist", "public"]
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment