terraform icon indicating copy to clipboard operation
terraform copied to clipboard

Sass Library Support

Open chriseppstein opened this issue 10 years ago • 1 comments

I don't see any way to tap into the Sass options that are passed to node-sass. Without this, many sass extensions that have javascript functions, custom importers, will not work.

A simple, out of the box solution to this will be to integrate eyeglass into harp, then any sass extension can added to the project with a simple npm install -- eyeglass will discover the extensions and hook them into node-sass automatically (Here's a list of eyeglass compatible sass extensions that already exist)

Are you open to accepting a pull request that add eyeglass as a dependency so that sass modules can be added to projects?

If not, are you open to a pull request to terraform that makes it easier to customize the Sass options (that's all eyeglass needs in order to work)?

chriseppstein avatar Aug 28 '15 18:08 chriseppstein

Hey, I’m personally really looking forward to having Eyeglass modules work with Harp, if you want to open up a PR I think that is something we’d be happy to merge.

We’re working on getting Browserify added in next, currently we don’t treat the node_modules directory any differently from any other directory. I assume that needs to change for both, so it might be better to make any changes against this branch the since we’ll merge #98 first.

kennethormandy avatar Sep 03 '15 18:09 kennethormandy