Created
January 4, 2023 23:10
-
-
Save cdoremus/9dec676805cb8f9febd6f2e84d7c1d02 to your computer and use it in GitHub Desktop.
Compiling SASS with Deno
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Compiling SASS with Deno | |
deno run --allow-read="test.scss" --allow-env="SASS_PATH" --unstable "test.ts"``` | |
*/ | |
import SassLang from "npm:sass@latest"; | |
const Content = await SassLang.compileStringAsync( | |
await Deno.readTextFile("test.scss")); | |
console.log(Content); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment