web icon indicating copy to clipboard operation
web copied to clipboard

fix: preload css modules as style instead of script

Open thepassle opened this issue 2 years ago • 2 comments

When using native css modules in rollup, the polyfills loader will try to add a preload link for them, e.g.: <link rel="preload" href="styles-78a368d53d94321d.css" as="script" crossorigin="anonymous" />, should be preloaded as script instead

thepassle avatar Jan 22 '23 08:01 thepassle

⚠️ No Changeset found

Latest commit: 0dfa694c4a7d33c2badf93b2057b6e6815fd371d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Jan 22 '23 08:01 changeset-bot[bot]

Awaiting https://github.com/whatwg/html/issues/8764

thepassle avatar Jan 22 '23 09:01 thepassle