Ensures SASS modules can only be included once per build
CSS
Latest commit 0198704 Nov 15, 2015 @wilsonpage v0.2.0
Failed to load latest commit information.
examples/1
.gitignore Added git ignore Mar 21, 2013
README.md replaces SASS with Sass Mar 16, 2015
_sass-import-once.scss
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