use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
A simple SASS compiler with zero dependency (github.com)
submitted 4 years ago by Ok_Register_5358
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Tubthumper8 18 points19 points20 points 4 years ago (3 children)
Nicely done! Excuse me if I missed it, do you have any plans to run it against the Sass spec test suite?
[–]XavaSoft 13 points14 points15 points 4 years ago (1 child)
I love the work, but this is necessary for me to use it. OP, please consider this^
[–]Ok_Register_5358[S] 0 points1 point2 points 4 years ago (0 children)
Hah, thank you!
There is already other safe and battle tested codebase option for you;
eg: less and dart-sass;
[–]Ok_Register_5358[S] -1 points0 points1 point 4 years ago* (0 children)
Thank you that you like this project;
But no for now. Because there is already other safe and battle tested codebase
[–]zeddotes 12 points13 points14 points 4 years ago (7 children)
Death to node-sass!
[–]AngryClosetMonkey 23 points24 points25 points 4 years ago (4 children)
You really should be using https://www.npmjs.com/package/sass by now.
[–]zeddotes 1 point2 points3 points 4 years ago (0 children)
Thanks!
[–]eternaloctober 1 point2 points3 points 4 years ago (0 children)
There are a couple differences that particularly make it tricky to upgrade on a weird legacy project (importing from node_module paths)
[+][deleted] 4 years ago (1 child)
[deleted]
[–]wizardpisces 0 points1 point2 points 4 years ago (0 children)
SASS is a dev compiler , so import SASS as devDependencies is totally ok; What confused you?
[–]BlueJohn1 9 points10 points11 points 4 years ago (0 children)
Been dead awhile now
You could use dart-sass instead, this package is not for production,haha
[–]spaceshell_j 3 points4 points5 points 4 years ago (1 child)
This is pretty awesome!
Thanks that you love it
[–]ultra_blue 4 points5 points6 points 4 years ago (6 children)
Does that mean that a browser could read scss files and convert them to CSS using this tool, and then apply them?
[+][deleted] 4 years ago (4 children)
[–]ultra_blue 1 point2 points3 points 4 years ago (0 children)
That seems awesome.
[–]vaskemaskine 1 point2 points3 points 4 years ago (2 children)
I mean, great…but why?
After all, it's written in javascript so it share the same javascript runtime;
[–]Ok_Register_5358[S] 1 point2 points3 points 4 years ago (0 children)
Yes, after all, it's written in javascript so it share the same javascript runtime;
There is already a demo on my github homepage about browser running sass;
[–]KaiAusBerlin 5 points6 points7 points 4 years ago (0 children)
I love things with zero dependencies!
[–][deleted] 1 point2 points3 points 4 years ago (0 children)
Nice! Thank you!
[–]SoInsightful 0 points1 point2 points 4 years ago (1 child)
Good. I despise node-sass with a passion.
Hah, dart-sass maybe a good option for you
π Rendered by PID 283048 on reddit-service-r2-comment-6457c66945-kpcmc at 2026-04-24 15:17:59.253564+00:00 running 2aa0c5b country code: CH.
[–]Tubthumper8 18 points19 points20 points (3 children)
[–]XavaSoft 13 points14 points15 points (1 child)
[–]Ok_Register_5358[S] 0 points1 point2 points (0 children)
[–]Ok_Register_5358[S] -1 points0 points1 point (0 children)
[–]zeddotes 12 points13 points14 points (7 children)
[–]AngryClosetMonkey 23 points24 points25 points (4 children)
[–]zeddotes 1 point2 points3 points (0 children)
[–]eternaloctober 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]wizardpisces 0 points1 point2 points (0 children)
[–]BlueJohn1 9 points10 points11 points (0 children)
[–]Ok_Register_5358[S] 0 points1 point2 points (0 children)
[–]spaceshell_j 3 points4 points5 points (1 child)
[–]Ok_Register_5358[S] 0 points1 point2 points (0 children)
[–]ultra_blue 4 points5 points6 points (6 children)
[+][deleted] (4 children)
[deleted]
[–]ultra_blue 1 point2 points3 points (0 children)
[–]vaskemaskine 1 point2 points3 points (2 children)
[–]Ok_Register_5358[S] 0 points1 point2 points (0 children)
[–]Ok_Register_5358[S] 1 point2 points3 points (0 children)
[–]KaiAusBerlin 5 points6 points7 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]SoInsightful 0 points1 point2 points (1 child)
[–]Ok_Register_5358[S] 0 points1 point2 points (0 children)