Added vite-plugin-checker to twenty-front (#3289)
* Added vite-plugin-checker to twenty-front * Installed vite-plugin-checker globally
This commit is contained in:
@ -2,6 +2,7 @@ import { defineConfig, loadEnv } from 'vite';
|
||||
import react from '@vitejs/plugin-react-swc';
|
||||
import tsconfigPaths from 'vite-tsconfig-paths';
|
||||
import svgr from 'vite-plugin-svgr';
|
||||
import checker from 'vite-plugin-checker'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig(({ mode }) => {
|
||||
@ -18,6 +19,11 @@ export default defineConfig(({ mode }) => {
|
||||
react({ jsxImportSource: "@emotion/react" }),
|
||||
tsconfigPaths(),
|
||||
svgr(),
|
||||
checker({
|
||||
typescript: {
|
||||
tsconfigPath: "tsconfig.app.json"
|
||||
}
|
||||
}),
|
||||
]
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user