Oleksandr Fediashov
Oleksandr Fediashov
Hey, yes we plan to have more integrations with bundlers and frameworks. Having Vite plugin is something that we want. The implementation should be similar to the existing Webpack loader:...
The closest example/reference for us is [`@linaria/rollup`](https://github.com/callstack/linaria/blob/master/packages/rollup/src/index.ts), but it has the problem that I mentioned (https://github.com/callstack/linaria/issues/888). In fact, we need something similar in Rollup/Vite: https://github.com/microsoft/griffel/blob/b4c7acc77e5e7b4883ca32249418a3d93dc43e77/packages/webpack-loader/src/webpackLoader.ts#L69-L80
Okay, it seems that [`this.resolve()`](https://rollupjs.org/guide/en/#thisresolve) in Rollup is close to what we need 😸
> Okay, it seems that [`this.resolve()`](https://rollupjs.org/guide/en/#thisresolve) in Rollup is close to what we need 😸 FYI: I've made some progress on it and it _almost_ works. The problem is that...
> I will check when I have some time 🙂 @zoontek thanks. ~~FYI: I will cleanup my branch and will post as a draft PR on the next week.~~ **EDIT:**...
There is some work in Linaria that could help with that, https://github.com/callstack/linaria/pull/1001. Looking forward to it 🐱
@SahilTara indeed, but we will need to move to Linaria v4 first (#184).
@SukkaW it's something that we can consider, after #52 will be merged I will followup on that 👍
@SukkaW this is not our top priority now, but it will eventually happen.
> I'm not sure if it is clear enough that the tooltip shows className. Wondering if people would be confused when seeing them for the first time 🤔 We will...