Commit 4c8b395f authored by lihaihan's avatar lihaihan

去掉类型检查用于发布

parent 24af1c92
......@@ -8,7 +8,7 @@
"scripts": {
"dev": "vite",
"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",
"serve": "vite preview"
},
......
import { App, Plugin } from 'vue'
import dayjs from 'dayjs'
import ch from 'dayjs/locale/zh-cn'
import LocalizedFormat from 'dayjs/plugin/LocalizedFormat'
import LocalizedFormat from 'dayjs/plugin/LocalizedFormat.js'
dayjs.extend(LocalizedFormat)
dayjs.locale(ch)
......
......@@ -9,7 +9,6 @@
"jsx": "preserve",
"sourceMap": true,
"baseUrl": ".",
"allowSyntheticDefaultImports": true,
"lib": ["esnext", "dom"],
"noImplicitAny": false,
"paths": {
......@@ -17,6 +16,6 @@
"@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"]
}
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