diff --git a/vite.config.ts b/vite.config.ts index 44854ff..a5f8361 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -29,7 +29,9 @@ export default defineConfig(({ mode }) => ({ plugins: [ tsconfigPaths(), react(), - svgr(), + svgr({ + include: '**/*.svg?react' + }), ...(mode === 'test' ? [] : [