Skip to content

fix: point ./css export to source file to fix Vercel build - #19

Merged
hunterbecton merged 1 commit into
mainfrom
fix/css-export-source-path
May 1, 2026
Merged

hunterbecton merged 1 commit into
mainfrom
fix/css-export-source-path

Conversation

@hunterbecton

@hunterbecton hunterbecton commented May 1, 2026 •

Copy link
Copy Markdown
Member

Summary

  • The ./css package export pointed to dist/css/bones.css, which doesn't exist until the package is built
  • On Vercel, the docs app resolves the workspace dependency before the bones package is built, causing the deploy to fail
  • Since the CSS is static and just copied during build, point the export directly to src/css/bones.css and include src/css in the published files

Test plan

  • All 31 existing tests pass
  • Verify Vercel deploy succeeds with this change
  • Verify @import "bones/css" resolves correctly in the docs app

The CSS export pointed to dist/css/bones.css which doesn't exist
until the package is built. Since the CSS is static and just copied
during build, point directly to src/css/bones.css instead.
@vercel

vercel Bot commented May 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bones-docs Error Error May 1, 2026 0:12am

Request Review

@hunterbecton
hunterbecton merged commit 89e8835 into main May 1, 2026
9 of 10 checks passed

This branch had an error being deployed

1 failed deployment
Preview — 0b133188 Deployed May 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant