From 8bd6ea5c54f4c0475d28a6a82377edc430f6eac6 Mon Sep 17 00:00:00 2001 From: SPWizard01 Date: Wed, 21 Feb 2024 04:13:53 +0200 Subject: [PATCH] Update plugin.ts --- src/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin.ts b/src/plugin.ts index 51c274a..9e33896 100755 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -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`}]