Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevemao/gulp-australian-stylesheets
Compile Australian CSS
https://github.com/stevemao/gulp-australian-stylesheets
Last synced: 3 months ago
JSON representation
Compile Australian CSS
- Host: GitHub
- URL: https://github.com/stevemao/gulp-australian-stylesheets
- Owner: stevemao
- License: mit
- Created: 2015-05-19T07:19:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-19T23:11:40.000Z (over 9 years ago)
- Last Synced: 2024-10-13T22:04:35.270Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 117 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# gulp-australian-stylesheets [![Build Status](https://travis-ci.org/stevemao/gulp-australian-stylesheets.svg?branch=master)](https://travis-ci.org/stevemao/gulp-australian-stylesheets)
> Compile Australian CSS with [postcss-australian-stylesheets](https://github.com/dp-lewis/postcss-australian-stylesheets)
*Issues with the output should be reported on the australian-stylesheets [issue tracker](https://github.com/dp-lewis/australian-stylesheets-core/issues).*
## Install
```
$ npm install --save-dev gulp-australian-stylesheets
```## Usage
```js
var gulp = require('gulp');
var ozcss = require('gulp-australian-stylesheets');gulp.task('default', function () {
return gulp.src('src/app.css')
.pipe(ozcss())
.pipe(gulp.dest('dist'));
});
```## Source Maps
Use [gulp-sourcemaps](https://github.com/floridoo/gulp-sourcemaps) like this:
```js
var gulp = require('gulp');
var sourcemaps = require('gulp-sourcemaps');
var ozcss = require('gulp-australian-stylesheets');
var concat = require('gulp-concat');gulp.task('default', function () {
return gulp.src('src/**/*.css')
.pipe(sourcemaps.init())
.pipe(ozcss())
.pipe(concat('all.css'))
.pipe(sourcemaps.write('.'))
.pipe(gulp.dest('dist'));
});
```## License
MIT © [Steve Mao](https://github.com/stevemao)