🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

gulp-angular2-embed-sass

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-angular2-embed-sass

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

Source
npmnpm
Version
0.5.0
Version published
Weekly downloads
10
-75%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

gulpplugin

FAQs

Package last updated on 26 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts