Closed edoardocavazza closed 4 months ago
Latest commit: b190cf1c538ebb28c5e7c8184f8208eac7c43aae
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Attention: Patch coverage is 90.19608%
with 5 lines
in your changes are missing coverage. Please review.
Project coverage is 75.78%. Comparing base (
623f59f
) to head (b190cf1
).
Files | Patch % | Lines |
---|---|---|
packages/esbuild-plugin-html/lib/collectScripts.js | 80.00% | 0 Missing and 4 partials :warning: |
packages/esbuild-plugin-html/lib/index.js | 96.00% | 0 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thank you for your hard work @edoardocavazza !
This is required for CSS in Svelte files loaded via esbuild-svelte to not cause a flash of unstyled content.
Until this PR is merged I've isolated eslint-plugin-html with this patch into a drop-in replacement.
This PR introduces a
injectStylesAs
configuration to set the inject behavior for CSS imports in JavaScript modules.It should fix #172