Skip to content

CSS injection in tests.#1422

Open
przemyslaw-zan wants to merge 1 commit into
masterfrom
ci/4265
Open

CSS injection in tests.#1422
przemyslaw-zan wants to merge 1 commit into
masterfrom
ci/4265

Conversation

@przemyslaw-zan

Copy link
Copy Markdown
Member

🚀 Summary

The `manualTestsPlugin()` plugin now loads the package theme entry stylesheet (`theme/index.css`) in manual tests. Package stylesheets are imported by the package entry module (`src/index.ts`), not by individual source modules, so manual tests that import source modules directly would otherwise render without the package's own styles. The import is appended to the entry script of every discovered manual page whose package has a theme entry stylesheet, preserving the cascade order of the built bundles.


📌 Related issues


💡 Additional information

Optional: Notes on decisions, edge cases, or anything helpful for reviewers.

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