linaria icon indicating copy to clipboard operation
linaria copied to clipboard

@linaria/react + @linaria/rollup not working with vite 3.1.0

Open cojoclaudiu opened this issue 3 years ago • 2 comments

Hi @cojoclaudiu. I don't know. Maybe. We have an example for Vite (and I use Vite in my projects), and everything works well. Let's see how @iMoses's approach will affect the problem.

Originally posted by @Anber in https://github.com/callstack/linaria/issues/1057#issuecomment-1238286783

Hello, Yesterday I've starting new React + TS project with vite (last version 3.1.0) and I was trying to integrate @linaria/react and @linaria/rollup (both last versions 4.1.2) without any success.

I was checking the vite example from the linaria repo and is working but with vite 2.9. I've posted my errors in this PR https://github.com/callstack/linaria/pull/1057

cojoclaudiu avatar Sep 07 '22 09:09 cojoclaudiu

duplicate of #1044 ?

Dmitra avatar Sep 14 '22 10:09 Dmitra

duplicate of #1044 ?

I think so

cojoclaudiu avatar Sep 14 '22 10:09 cojoclaudiu