add vite-plugin-checker

This commit is contained in:
Philipp Kühn
2021-09-17 21:18:50 +02:00
parent de7f769ca3
commit 35ab0aa521
3 changed files with 73 additions and 9 deletions

View File

@@ -10,6 +10,7 @@ import globby from 'globby'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import reactRefresh from '@vitejs/plugin-react-refresh'
import checker from 'vite-plugin-checker'
export default defineConfig({
optimizeDeps: {
@@ -46,6 +47,8 @@ export default defineConfig({
},
plugins: [
// checker({ typescript: { tsconfigPath: '../tsconfig.json' } }),
// checker({ typescript: true }),
vue(),
reactRefresh(),