I would like to do the same for some time. I finally settled on the following solution.
Take the following structure (i.e. with your modules in a sass )
- Project
- bicker
- modules
- header.scss
- Blog posts.scss
- footer.scss
- something else.scss
- main.scss
- style sheets
Update main.scss to contain:
@import 'modules/header.scss'; @import 'modules/blog-posts.scss'; @import 'modules/footer.scss'; @import 'modules/something-else.scss';
Run the following command (from the project folder) to create
compass compile . sass/main.scss -s compressed
It just compiles main.scss , which inturn goes and imports each of your modules. In addition, the compressed style parameter minimizes output.
isNaN1247
source share