wmertens / styled-vanilla-extract

A 0-runtime styled-components-like API for Qwik using vanilla-extract.
MIT License
121 stars 9 forks source link

styled-vanilla-extract: After modifying the content of xx.css.ts , the project needs to be rebuilt to take effect. #27

Closed lontten closed 4 months ago

lontten commented 7 months ago

After modifying the content of xx.css.ts , the project needs to be rebuilt to take effect. ndoe: v20.11.1 win11 "@builder.io/qwik": "^1.5.1", "@builder.io/qwik-city": "^1.5.1", "@vanilla-extract/css": "^1.14.1", "styled-vanilla-extract": "^0.5.12",

franck-co commented 6 months ago

Duplicate of #11 This has been fixed but not released yet

JaxCavalera commented 5 months ago

I'm guessing it's still not released based on this comment. Is there anything we can do to help get it released?

wmertens commented 4 months ago

apologies, released now, 0.5.13

brandonpittman commented 4 months ago

I installed this but still am not getting the updated styles unless I restart the server. Does it need anything else in the Vite config that it didn’t need before?

franck-co commented 4 months ago

@brandonpittman Here is an exemple project : https://github.com/franck-co/styled-vanilla-extract-hot-reload

pnpm install
pnpm dev

styled-vanilla-extract 0.5.13 + qwik 1.5.7

brandonpittman commented 4 months ago

@franck-co Thanks. Will see what’s different with my config.

brandonpittman commented 4 months ago

@franck-co @wmertens

Sorry, my lockfile was acting weird. package.json had .13 but the lock file still had .12. Deleted the lockfile and it's working now.