-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SASS support #17
Comments
So is atomify-css not recommended for people wanting to use SASS? I mean, if the library supports |
No, the problem with sass is it relies on a native implementation that has to be built on each platform during installation. That build step was deemed slow/annoying, so we removed it. On Sat, Jul 12, 2014 at 11:41 AM, Karan Misra [email protected]
|
If we could make the requirement for the sass component optional (for only those who care about it), would that work? |
That isn't how |
We would take a PR that allowed people to use SASS without requiring it to be installed by everyone. Geddy does this for the various templating languages that it supports. It checks the local node_modules directory to see if the package exists before trying to require it. |
@techwraith that is precisely what I had in mind. I have also seen the same technique being used by |
This is what I had in mind: https://github.com/sequelize/sequelize/blob/master/lib/dialects/mysql/connection-manager.js#L13 I can send in a PR if this solution is deemed acceptable |
Browserify does not support dynamic require paths so that approach wouldn't work. On Sat, Jul 12, 2014 at 3:13 PM, Karan Misra [email protected]
|
@bclinkinbeard what does this have to do with Please help me understand? |
Yeah, I don't think this has anything to do with browserify. This is all On Saturday, July 12, 2014, Karan Misra [email protected] wrote:
|
You're both right, I replied too quickly. My bad. |
@bclinkinbeard Thanks for the confirmation. Will send the PR in shortly |
@kidoman where did you end up with the PR? @stubbornella and I started on an implementation, but it is incomplete. We're not sure how to make the Perhaps @techwraith @kidoman @bclinkinbeard one of you might take a look and comment? |
- Fail if node-sass is not specified by the nodeSassModule option and there is no project-level node-sass module defined. [Finishes atomify#17]
Could the SASS compatibility be added but without having to compile it? This tool could help to generate the bundle.scss. Once with this bundle, then anyone could use whatever they want to compile. Does that make sense? |
It's possible, but you'd still need some sort of SASS parser to find all the |
We don't love how sass handles imports. It takes URL references in the individual files and processes their paths as if they were in the top level import file. On Mon, Sep 29, 2014 at 7:37 PM, Daniel Erickson [email protected]
|
I'm not sure what you mean there. Atomify also inlines imports (but does it intelligently so that the same file never gets imported twice).— On Mon, Sep 29, 2014 at 9:31 PM, Nicole Sullivan [email protected]
|
Any update on Atomify supporting SASS? |
I answered here. That kind of works, but since then i moved away from stylus into |
I was looking through the past issues/commits and see that we removed SASS support. Any particular reason why?
The text was updated successfully, but these errors were encountered: