mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
check typescript code in vue sfc file
This commit is contained in:
@@ -5,6 +5,7 @@ import { type UserConfig, defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
import vuetify from 'vite-plugin-vuetify';
|
||||
import { VitePWA } from 'vite-plugin-pwa';
|
||||
import Checker from 'vite-plugin-checker';
|
||||
import git from 'git-rev-sync';
|
||||
|
||||
import packageFile from './package.json';
|
||||
@@ -43,6 +44,9 @@ export default defineConfig(() => {
|
||||
configFile: 'styles/desktop/configured-variables/_vuetify.scss'
|
||||
}
|
||||
}),
|
||||
Checker({
|
||||
vueTsc: true
|
||||
}),
|
||||
VitePWA({
|
||||
filename: 'sw.js',
|
||||
manifestFilename: 'manifest.json',
|
||||
|
||||
Reference in New Issue
Block a user