Skip to content

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages