Skip to content

fix(build): do not treat a dependency stylesheet as one of this package's - #5

Merged
inureyes merged 1 commit into
mainfrom
fix/bare-specifier-stylesheets
Aug 5, 2026
Merged

fix(build): do not treat a dependency stylesheet as one of this package's#5
inureyes merged 1 commit into
mainfrom
fix/bare-specifier-stylesheets

Conversation

@inureyes

@inureyes inureyes commented Aug 5, 2026

Copy link
Copy Markdown
Member

A bare specifier such as katex/dist/katex.min.css resolves to a path inside the package root, so the check that was meant to leave dependency stylesheets alone never fired and the build would stop on a stylesheet it was never meant to re-link.

Nothing here imports one today, which is why it went unnoticed. lablup/ui-ai#1 hit it immediately while taking the same fix, and this keeps the two builds identical rather than letting one carry a correction the other lacks.

The specifier form now decides, so only relative and absolute paths are re-linked.

pnpm run verify green, packed artifact unchanged at 140 files. Release as 0.1.0-alpha.5.

…ge's

A bare specifier resolves to a path inside the package root, so the check that
was meant to leave dependency stylesheets alone never fired. Nothing here
imports one today, which is why it went unnoticed; the sibling package hit it
immediately with katex.

The specifier form now decides, so only relative and absolute paths are
re-linked.
@inureyes
inureyes merged commit d5f9074 into main Aug 5, 2026
3 checks passed
@inureyes
inureyes deleted the fix/bare-specifier-stylesheets branch August 5, 2026 15:48
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