developit / microbundle

📦 Zero-configuration bundler for tiny modules.
https://npm.im/microbundle
MIT License
8.03k stars 362 forks source link

fix: css compilation problems when multiple entries #961

Closed zyrong closed 2 years ago

zyrong commented 2 years ago

fix: css compilation problems when multiple entries

This commit fixes that when different entries reference different CSS, only the related CSS of the first entry will be packaged. For specific changes, please see this commit. I also added the corresponding test case Original PR

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: 235b1759bed4b4748421bb6257dc3fff44cfb38e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------- | ----- | | microbundle | Patch |

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