Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/webengage/brsass
Yet another Browserify transform for Sass
https://github.com/webengage/brsass
Last synced: 2 days ago
JSON representation
Yet another Browserify transform for Sass
- Host: GitHub
- URL: https://github.com/webengage/brsass
- Owner: WebEngage
- Created: 2016-03-06T16:44:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-03-07T18:02:14.000Z (over 8 years ago)
- Last Synced: 2024-10-12T04:22:27.299Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# brsass
Yet another Browserify transform for SassJust like [sassify](https://github.com/davidguttman/sassify), [scssify](https://github.com/chrishoage/scssify), [sassr](https://github.com/johnnybenson/sassr) and others, brsass enables one to directly `require()` .sass, .scss or .css files.
Additionally brsass minifies the styles using [clean-css](https://github.com/jakubpawlowicz/clean-css) before they are included in the browserify bundle.The bundled style modules only export the css and they must be manually injected into document `` elements
### Install
```
npm install --save WebEngage/brsass
```### Use
On the command line
```
$ browserify -t brsass entry.js > bundle.js
```Or using the browserify API in your code
```js
var browserify = require('browserify');
var brsass = require('brsass');var b = browserify(...);
b.transform(brsass);
```#### License - [WTFPL](http://www.wtfpl.net/)
```
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004Copyright (C) 2015 WebEngage <geeks {at} webengage.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION0. You just DO WHAT THE FUCK YOU WANT TO.
```