Now powered by deno

December 23, 2022deno

I finally sat down and got my blog compiling with deno. Now that there is official npm support I didn't need to completely rewrite the compiler which was what was stopping me before.

Besides updating the fs / path api calls the only real roadblock that I had was using node-sass as I ran into this issue.

I just ended up calling node-sass via the cli as I only have to really compile one file:

const result = new TextDecoder().decode(
    cmd: [
      IS_WINDOWS ? "npx.cmd" : "npx",
      join(INPUT_DIRECTORY, "css", "style.scss"),
    stdout: "piped",

Overall I really like the direction deno is heading and I think it is the future of local JavaScript runtimes.