Skip to content

Commit

Permalink
Handle missing css
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeterdev authored Apr 3, 2024
1 parent 9950331 commit ff03f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler/src/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function prepareSourceWithBlockHeight(
const sourceKey = `${entryKey}/${componentKey}`;
sources[sourceKey] = {
component: componentValue[''][''],
css: componentValue.css[''],
css: componentValue.css?.[''],
blockHeight: componentValue[BLOCK_HEIGHT_KEY],
};
});
Expand Down

0 comments on commit ff03f45

Please sign in to comment.