Skip to content

Commit

Permalink
Merge pull request #83 from JimTheCat/CU-86973a6tu_Repair-tablericons…
Browse files Browse the repository at this point in the history
…-react-to-load-unnecessary-chunks_Patryk-Kosiski

fix: Repair chunks load for @tabler/icons-react
  • Loading branch information
JimTheCat authored Dec 16, 2024
2 parents 29790b6 + 0e39a07 commit 0a92e0c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ export default defineConfig(({mode}) => {
},
},
},
resolve: {
alias: {
// /esm/icons/index.mjs only exports the icons statically, so no separate chunks are created
'@tabler/icons-react': '@tabler/icons-react/dist/esm/icons/index.mjs',
}
}
// base: '/MeowHub/',
}
})

0 comments on commit 0a92e0c

Please sign in to comment.