Raul Melo

Results 59 comments of Raul Melo

Not only Sveltekit but any Vite-related project. I have a project using Astro + svelte, and a package that uses Vite + tabler icons react, and both have the same...

> I though that is what the destructuring part was supposed to do so when we do import { IconSomething } Using the curly braces is what tells the (compiler?)...

Hey @codecalm 👋 Do you mind if I do a PoC with some changes on how you're bundling the files? 🤔 My idea is: - switch from Rollup to vite,...

> In the new build process we will change how the bundle is generated, it should resolve this issue Amazing... really looking forward to it! 🙌

> Hey @codecalm 👋 > > Do you mind if I do a PoC with some changes on how you're bundling the files? 🤔 > > My idea is: >...

I think worth mentioning that this problem seems to be related only to the `@tabler/icons-svelte` package in conjunction with a Vite setup and not necessarily bound to SveteltKit, but Vite...

> Doesn't seem to happen when you enable minification That's a workaround

Could we have a built-in mock timers like jest/vite have? - https://jestjs.io/docs/jest-object#jestsetsystemtimenow-number--date - https://vitest.dev/api/vi.html#vi-setsystemtime

For further reference, I had the same problem using it with Remix + Vite, here's how I got it running: ```tsx // app/ui/Chart.tsx import { useEffect, useRef, useState } from...

I notice that if I replace the `import` with `require`, it works. Does that mean the lib doesn't support ESM? 🤔 (by doing this I lost TS intelisense)