gulp-angular-inline
v0.0.4
Published
gulp implementation of angular-2-inline-templates-styles
Downloads
5
Maintainers
Readme
Gulp Angular Inline
This is a wrapper around the angular2-inline-template-style lib written by @pablodenadai.
The intention here is to provide an easy way of inlining both your Angular styles and templates when your ready to deploy. Generally this will be used when deploying an Angular component that will be consumed by third party developers. This step is recommended by the Angular team here.
Install
npm i -SED gulp-angular-inline
Basic usage is as follows:
const inlineAngular = require( 'gulp-angular-inline' )
gulp.task( 'task_name', function () {
return inlineAngular( './**/*.component.ts', options )
.pipe( gulp.dest( YOUR_DEST_FOLDER ) )
} )
- options: these are the options that angular2-inline-template-style takes and can be found in the documentation for that project