0.5.2 • Published 6 years ago

gulp-angular2-embed-sass v0.5.2

Weekly downloads
38
License
MIT
Repository
github
Last release
6 years ago

gulp-angular2-embed-sass Build Status

A gulp plugin to compile styleUrls with sass to css and include them as strings under style.

Needs massive cleanup, refactorization, options, source-maps, and docs, but it works! Pull requests are welcome.

Stopped work on this for now as I've switched back to angular 1.5 until angular 2 is ready for production. Will resume when I switch back.

Install

npm i gulp-angular2-embed-sass --save-dev

Example

In your gulpfile.js:

var gulp      = require('gulp');
var embedSass = require('gulp-angular2-embed-sass');

gulp.task('embedSass', function() {
    gulp.src('targetPath')
        .pipe(embedSass())
        .pipe(gulp.dest('destinationPath'));
});

Acknowledgements

Inspired by https://github.com/laxa1986/gulp-angular-embed-templates

Licence

This module is released under the MIT license.

0.5.2

6 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago