Skip to content

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

License

Notifications You must be signed in to change notification settings

amritk/gulp-angular2-embed-sass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

*I have switched to Vue.js now, I will still merge pull requests but someone can take over this plugin if they wish.

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

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •