dlehmhus / next-with-linaria

Linaria webpack loader for Next.js
MIT License
104 stars 6 forks source link

next-with-linaria and tsconfig paths #15

Open altano opened 1 year ago

altano commented 1 year ago

When I add withLinaria to my next.config.ts, all files that use tsconfig paths start spitting out errors about modules not being found.

Can you think of any reason withLinaria would break the usage of tsconfig paths?

dlehmhus commented 1 year ago

Hey @altano, unfortunately that issue doesn't sound familiar to me. Could you provide a minimal reproducible example?

Yabes commented 1 year ago

Hello, I encountered a similar issue. I have a lot of errors, but my application still works. Could it that in transformLoader:72 you added a console.error(...) where it was absent in the original linaria webpack5 loader?