Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian authored Jun 4, 2022
1 parent e4c96e5 commit 235b175
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .changeset/angry-worms-smell.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'microbundle': patch
---

Fix css compilation problems when multiple entries
Fix for when multiple entries reference different CSS, only the CSS referenced by the first entry will be packaged
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ function createConfig(options, entry, format, writeMeta) {
extract:
!!writeMeta &&
options.css !== 'inline' &&
absMain.replace(EXTENSION, `.css`),
absMain.replace(EXTENSION, '.css'),
minimize: options.compress,
sourceMap: options.sourcemap && options.css !== 'inline',
}),
Expand Down

0 comments on commit 235b175

Please sign in to comment.