Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
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.

latest
Source
npmnpm
Version
0.5.2
Version published
Maintainers
1
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 29 Jan 2018

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