Major Changes
-
ab11ebb: BREAKING: bump
@wyw-in-js/*dependencies to^1.0.0(stable).This release updates Linaria's build-time evaluation engine (WyW). See https://wyw-in-js.dev/stability for practical guidance and common pitfalls.
Notes:
- Linaria 7 requires Node.js 20+ (aligned with WyW 1.x).
- If you import JSON from code that is evaluated by WyW, add
.jsontoextensionsand ensure.jsonis ignored by evaluation rules (so it's parsed as JSON, not by Babel). - Rollup users: WyW 1.x serializes
transform()by default (serializeTransform: true). If you hit Rollup "Unexpected early exit" (unresolved plugin promises / deadlock during resolve), setserializeTransform: false(seeexamples/rollup/rollup.config.mjs). - WyW 1.x promotes fully-statically-evaluatable modules to
only: ['*']and can re-evaluate modules when cached exports are incomplete (cached export values might not be reused).
Patch Changes
- b04f025: Fix
@linaria/postcss-linariaplaceholder naming and source location correction, and ensure stylelint integration resolves configs correctly.