Thursday, April 18, 2024

How I Upgraded (Hacked) The SASS Compiler for Mads Christensen's WebCompiler

Mads Christensen's Web Compiler has not been updated since 2015. However, I discovered a way to freshen the SASS compiler to the most recent version of node-sass available. Here are my steps...

Use Void Tools' Everything to find the WebCompiler temp directory by searching for WebCompiler.exe. Mine was located in "C:\Users\[user_name]\AppData\Local\Temp\WebCompiler1.12.394". By the way, if you are not already using Everything to search for files, do yourself a favor and install it!

Run “npm install node-sass” in WebCompiler temp directory. This will upgrade the SASS compiler to the latest version.

Next you will need to upgrade the node.exe file that is found in the WebCompiler temp directory. I do not know the "proper" way to accomplish this; but here is what I did...

  1. Use Everything to find latest version of node.exe (v20.12.0)
  2. Copy the latest version to the WebCompiler temp directory
That should do it!

No comments:

Post a Comment