Closed bard closed 3 months ago
Worked around by locking @vanilla-extract/vite-plugin
at 4.0.0. The first version that triggers the problem is 4.0.1.
Can you publish a reproduction?
Fix pre-released in 0.4.183-commit-38f60f1
. The build should now pass. Let me know if you stumble upon any other issues.
In case your company is up for it, we're looking for sponsors (#1350). It makes a big difference to us!
Confirmed as working. Thanks!
Description
Probably related: https://github.com/vikejs/vike/issues/1592
Only happening on
vite build
. Based on the warning at the beginning, I tried bothNODE_ENV=development vite build
andNODE_ENV=production vite build
, no difference.vite.config.ts:
Removing
vanillaExtractPlugin
and VE-based styles allows the build to complete. Likewise if I removeprerender: true
.