Need help with sass-import-once?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

wilsonpage
199 Stars 14 Forks 37 Commits 1 Opened issues

Description

Ensures SASS modules can only be included once per build

Services available

!
?

Need anything else?

Contributors list

No Data

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.