Skip to content

Commit

Permalink
fix(vite): update vite-plugin-svgr config to resolve GitHub Actions b…
Browse files Browse the repository at this point in the history
…uild error
  • Loading branch information
yun-cheng committed Mar 22, 2024
1 parent 95f80a4 commit 00bb73b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ export default defineConfig(({ mode }) => ({
plugins: [
tsconfigPaths(),
react(),
svgr(),
svgr({
include: '**/*.svg?react'
}),
...(mode === 'test'
? []
: [
Expand Down

0 comments on commit 00bb73b

Please sign in to comment.