Skip to content

[codex] fix css export path - #11

Merged
sametcn99 merged 1 commit into
sametcn99:mainfrom
luuhongyii:codex/fix-css-export-path
Jun 13, 2026
Merged

sametcn99 merged 1 commit into
sametcn99:mainfrom
luuhongyii:codex/fix-css-export-path

Conversation

@luuhongyii

Copy link
Copy Markdown
Contributor

Summary

Update the CSS subpath export to point at the stylesheet emitted by the release build.

Root cause

The package exports ./css as ./dist/vitepress-mermaid-renderer.css, but the Vite library build emits and packs dist/index.css. Importing the documented CSS subpath therefore resolves to a missing file in the published package.

Changes

  • Point exports["./css"] to ./dist/index.css.

Validation

  • bun install --frozen-lockfile
  • bun run build
  • bun run test
  • npm pack --dry-run --json

@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

@luuhongyii is attempting to deploy a commit to the samet's projects Team on Vercel.

A member of the Team first needs to authorize it.

@luuhongyii

Copy link
Copy Markdown
Contributor Author

Note on the Vercel check: the status target points to Vercel GitHub authorization rather than a build log, so it appears to be an integration authorization/configuration failure. The package-level validation for this metadata fix passed locally:

  • bun install --frozen-lockfile
  • bun run build
  • bun run test
  • npm pack --dry-run --json

@sametcn99
sametcn99 merged commit 10e0f83 into sametcn99:main Jun 13, 2026
1 check failed
@sametcn99

Copy link
Copy Markdown
Owner

Hey @luuhongyii, thanks for the contribution, but are you an AI agent?

@luuhongyii

luuhongyii commented Jun 13, 2026 via email

Copy link
Copy Markdown
Contributor Author

@sametcn99

Copy link
Copy Markdown
Owner

@luuhongyii You're awesome! I've merged this PR, and I'd be happy to see more PRs from you in the future. thanks ^^

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.

2 participants