Fix tabler icons load (#10782)

As per
https://github.com/tabler/tabler-icons/issues/1233#issuecomment-2428245119
This commit is contained in:
Charles Bochet
2025-03-11 18:01:28 +01:00
committed by GitHub
parent ddeba39a2c
commit d9817d6b9c
6 changed files with 28 additions and 53 deletions

View File

@ -168,6 +168,9 @@ export default defineConfig(({ command, mode }) => {
resolve: {
alias: {
path: 'rollup-plugin-node-polyfills/polyfills/path',
// https://github.com/twentyhq/twenty/pull/10782/files
// This will likely be migrated to twenty-ui package when built separately
'@tabler/icons-react': '@tabler/icons-react/dist/esm/icons/index.mjs',
},
},
};