Skip to content

Commit

Permalink
Update plugin.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
SPWizard01 authored Feb 21, 2024
1 parent 9f30a63 commit 8bd6ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function sassPlugin(options: SassPluginOptions = {}): Plugin {
cssChunks[name] = contents
contents = `import '${name}';`
} else if (type === 'style') {
contents = makeModule(String(contents), "style", options.customStyleModule, nonce);
contents = makeModule(String(contents), 'style', options.customStyleModule, nonce);
} else {
return {
errors: [{text: `unsupported type '${type}' for postCSS modules`}]
Expand Down

0 comments on commit 8bd6ea5

Please sign in to comment.