Skip to content

Commit

Permalink
Update utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
SPWizard01 authored Feb 21, 2024
1 parent a76f1b7 commit 9f30a63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ export type CustomStyleModule = (cssText: string, nonce?: string) => string;

export function makeModule(contents: string, type: Type, customStyleModule?: CustomStyleModule, nonce?: string) {
switch (type) {
case "style":
case 'style':
return customStyleModule ? customStyleModule(contents, nonce) : styleModule(contents, nonce);
case "lit-css":
case 'lit-css':
return cssResultModule(contents);
case "css-text":
case 'css-text':
return cssTextModule(contents);
default:
return contents;
Expand Down

0 comments on commit 9f30a63

Please sign in to comment.