Skip to content

Commit

Permalink
esm - reduce diff (#224959)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero authored Aug 6, 2024
1 parent 08aeda7 commit 145b650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap-window.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const isESM = false;
// DEV: For each CSS modules that we have we defined an entry in the import map that maps to
// DEV: a blob URL that loads the CSS via a dynamic @import-rule.
// DEV ---------------------------------------------------------------------------------------
if (configuration.cssModules) {
if (Array.isArray(configuration.cssModules) && configuration.cssModules.length > 0) {
performance.mark('code/willAddCssLoader');

const style = document.createElement('style');
Expand Down

0 comments on commit 145b650

Please sign in to comment.