Skip to content

Commit

Permalink
chore: 静的importのみ行うようにエイリアスを設定
Browse files Browse the repository at this point in the history
  • Loading branch information
tufusa committed Nov 12, 2024
1 parent 90a08a0 commit b13525c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/kcmsf/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@ import { defineConfig } from "vite";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
// 動的importを行わない
"@tabler/icons-react": "@tabler/icons-react/dist/esm/icons/index.mjs",
},
},
});

0 comments on commit b13525c

Please sign in to comment.