sass-import-once

0.2.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    234
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    234
  • 0.1.1
    0

Package Sidebar

Install

npm i sass-import-once

Weekly Downloads

234

Version

0.2.0

License

MIT

Last publish

Collaborators

  • wilsonpage