Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/wilsonpage/sass-import-once
- Owner: wilsonpage
- Created: 2012-12-26T22:21:29.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-11-15T19:15:56.000Z (almost 9 years ago)
- Last Synced: 2024-10-14T16:07:05.928Z (about 1 month ago)
- Language: CSS
- Size: 227 KB
- Stars: 196
- Watchers: 5
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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