Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wilsonpage/sass-import-once

Ensures SASS modules can only be included once per build
https://github.com/wilsonpage/sass-import-once

Last synced: 19 days ago
JSON representation

Ensures SASS modules can only be included once per build

Awesome Lists containing this project

README

        

# 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