scene: skyLabelInk moves out of sceneShell.css.ts (dev did not build) #76

Merged
void merged 1 commit from void/scene-css-function-export into dev 2026-11-10 18:02:26 +00:00
Member

#74 exported the function skyLabelInk from sceneShell.css.ts. vitest tolerates it; vite build does not (Invalid exports. You can only export plain objects, arrays, strings...), so dev at 1499e9a8 and 0fe9ab2e does not build. My regression.

  • skyLabelInk and SKY_LABEL_INK move to scene/skyLabelInk.ts; four importers updated.
  • New scene/cssModules.test.ts compiles the three .css.ts files that use it the way the build does; it fails on the old arrangement (checked) and passes now.
  • vitest 49 files / 706 tests pass; vite build (demo, base /void/x/) rc=0.

🤖 Generated with Claude Code

#74 exported the function `skyLabelInk` from `sceneShell.css.ts`. vitest tolerates it; `vite build` does not (`Invalid exports. You can only export plain objects, arrays, strings...`), so dev at 1499e9a8 and 0fe9ab2e does not build. My regression. - `skyLabelInk` and `SKY_LABEL_INK` move to `scene/skyLabelInk.ts`; four importers updated. - New `scene/cssModules.test.ts` compiles the three .css.ts files that use it the way the build does; it fails on the old arrangement (checked) and passes now. - vitest 49 files / 706 tests pass; `vite build` (demo, base /void/x/) rc=0. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
scene: skyLabelInk leaves sceneShell.css.ts (vanilla-extract refuses a function export; vite build failed on dev)
All checks were successful
Build pull request / Build pull request (pull_request) Successful in 4m4s
14ea0dbab0
#74 exported a function from a .css.ts file. vitest's plugin tolerates it, vite build's compile does not
("Invalid exports"), so dev did not build. The helper and its custom-property name move to skyLabelInk.ts;
a test compiles the three .css.ts files that use it the build's way and fails on the old arrangement.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
void merged commit 66c4c6373b into dev 2026-11-10 18:02:26 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Ratatoskr!76
No description provided.