Skip to content

Commit

Permalink
Update sass_plugin_setup.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx committed Jan 12, 2024
1 parent c95985c commit 297805e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sass_plugin_setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function sassPluginSetup(
const fileContent = await Deno.readTextFile(args.path);

try {
const css = sass(
const cssContent = sass(
fileContent,
{
style: initialOptions.minify ? 'compressed' : 'expanded',
Expand All @@ -43,7 +43,7 @@ export default function sassPluginSetup(
).to_string();

return {
contents: getTextContent(css),
contents: getTextContent(cssContent),
loader: 'css',
};
} catch (error) {
Expand Down

0 comments on commit 297805e

Please sign in to comment.