Skip to content
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

Single .CSS Output Configuration Support #69

Closed
davemo opened this issue Dec 15, 2009 · 4 comments
Closed

Single .CSS Output Configuration Support #69

davemo opened this issue Dec 15, 2009 · 4 comments

Comments

@davemo
Copy link

davemo commented Dec 15, 2009

It would be nice to be able to tell config.rb to only output a specific certain .css file. For example, I have a website.sass file that imports pages.sass (which imports single sass files for each page type on the site), and a common.sass (for global imports). When compass -w runs it produces .css files for all .sass files in the import chain and subdirectories.

I would like to be able to provide some configuration option so that only the website.sass is emitted as a .css file. This would be ideal for swapping between dev and production configurations that use an automated build script.

@chriseppstein
Copy link
Member

Any sass file that is prepended with an underscore will no longer be converted to css itself. instead it is considered a "partial" that is meant to be included into other files. even though the filename starts with and underscore, the import does not need to use it, sass will look for both versions of the name.

@davemo
Copy link
Author

davemo commented Dec 15, 2009

Ah, thanks, this was what I was referring to in my tweet :)

@chriseppstein
Copy link
Member

Cool. I also think there's a need to be able to specify on the command line to compile just a single sass file into css. So I'm gonna leave this open.

@chriseppstein
Copy link
Member

I added single file compilation in v0.10.0.pre3.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants