Ensures SASS modules can only be included once per build
CSS
Switch branches/tags
Latest commit 0198704 Nov 15, 2015 @wilsonpage v0.2.0
Permalink
Failed to load latest commit information.
examples/1 Ignore .sass-cache Mar 21, 2013
.gitignore Added git ignore Mar 21, 2013
README.md replaces SASS with Sass Mar 16, 2015
_sass-import-once.scss Make warn messages optional Jul 28, 2015
bower.json v0.2.0 Nov 15, 2015
component.json v0.2.0 Nov 15, 2015
package.json v0.2.0 Nov 15, 2015

README.md

Sass Import Once

When included in a Sass module, sass-import-once will prevent the styles being duplicated if @import is called somewhere else. This is cool because it allows every Sass file to declare its own dependencies. This promotes encapulation and allows modules to standalone if need be.

Installation

$ component install wilsonpage/sass-import-once
$ bower install sass-import-once

OR

Just copy the .scss file somewhere into your project.

Usage

(see examples)

License

MIT