diff --git a/src/sass_plugin_setup.ts b/src/sass_plugin_setup.ts index a7f531c..9f05956 100644 --- a/src/sass_plugin_setup.ts +++ b/src/sass_plugin_setup.ts @@ -30,13 +30,9 @@ export default function sassPluginSetup( onLoadFunction( { filter: /\.scss$/ }, async (args) => { - const path = dirname(args.path); - + const fileDirectoryPath = dirname(args.path); const fileContent = await Deno.readTextFile(args.path); - console.log(fileContent); - - try { const cssContent = sass( fileContent, @@ -44,7 +40,7 @@ export default function sassPluginSetup( style: initialOptions.minify ? 'compressed' : 'expanded', load_paths: [ Deno.cwd(), - path + fileDirectoryPath ] } ).to_string();