Closed abdullahtellioglu closed 5 months ago
Hi @abdullahtellioglu! Thanks for filing the issue! I have created a repro for your case: https://github.com/Lodin/test-hilla-css-issue However, for me it works as expected, all CSS files are loading.
Could you take a look at the repro code? Does your code have any differences?
You are right @Lodin. There might be some HMR, vite or npm kind of issue that happened at that time randomly I guess. Closing the issue. Thanks 🙇
Describe the bug
I was trying to import an external react component into my project. https://react-slick.neostack.com/docs/get-started I was following the introductions and importing CSS files failed to resolve imports in Hilla project. It works for React starter projects though https://stackblitz.com/edit/vitejs-vite-emnznh?file=src%2FApp.tsx
Expected-behavior
It should resolve the external CSS files.
Reproduction
Follow the introductions in the component page and you will end up a file look like this
System Info