fix: Extra CSS files generated by rschristian · Pull Request #777 · developit/microbundle · GitHub
Skip to content

fix: Extra CSS files generated#777

Merged
developit merged 4 commits intodevelopit:masterfrom
rschristian:fix/cssFileGen
May 27, 2021
Merged

fix: Extra CSS files generated#777
developit merged 4 commits intodevelopit:masterfrom
rschristian:fix/cssFileGen

Conversation

@rschristian
Copy link
Copy Markdown
Collaborator

Summary

Fixes #776

Description

A bug with #769 meant that for each JS file output format (excluding UMD) a matching CSS file would be generated, i.e., index.modern.css and index.module.css (not a CSS module).

I corrected this by restoring the old logic used, which was relying on writeMeta.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jan 6, 2021

@developit
Copy link
Copy Markdown
Owner

Seems reasonable to me - this doesn't create any incorrect references to the CSS files right? I don't think we provide a way to get the filename so my guess is that it's fine.

@rschristian
Copy link
Copy Markdown
Collaborator Author

@developit developit merged commit 6f1a20f into developit:master May 27, 2021
@preact-bot preact-bot mentioned this pull request May 27, 2021
@rschristian rschristian deleted the fix/cssFileGen branch May 31, 2021 18:30
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.

Bug: Microbundle generates 'x.modern.css' and 'x.module.css' files

2 participants