gulp-inline-ng2-template
gulp-inline-ng2-template copied to clipboard
Gulp plugin to inline HTML and CSS into Angular 2 component decorators
fix #59
fixes #59
Hello, I have a typescript file with comment, which gives example how it should be used. In the example I have provided @Component template definition. When running the template definition...
First, this is a question: ```js styleProcessor: function (path, ext, file, callback) {/* ... */}, ``` The param `ext` is an array since [it comes from this regex](https://github.com/ludohenin/gulp-inline-ng2-template/blob/bf0adccfbba702ce2a9d55212bae4f741378e999/parser.js#L250) Is this...
Small scale projects build time is fairly small, but once it hits the size of a normal project build times as well as watch times are very slow. Not sure...
`var gulp = require('../node_modules/gulp'); var ts = require('../node_modules/gulp-typescript'); var tsConfigPath = './src/tsconfig.json'; var tsProject = ts.createProject(tsConfigPath); var tsResult = tsProject.src() .pipe(inlineNg2Template({ useRelativePaths: true})) .pipe(tsProject());` With above code, the templateUrl doesn't...
Hi! I created a dynamic module factory function which produces components on-the fly using my convention. It looks like: ``` function createComponent() { let type = this.widget.type; let path =...
After modifying a build for ionic2 to include `gulp-inline-ng2-template` i stumble upon a strange bug case, the transform with `ng2TemplateParser` isn't applied if browserify/watchify/gulpWatch is used. I'm not sure from...
Hi, Thanks for great gulp package. How can I use this gulp package with scss files Thanks
When I run the below snippet through the inline-ng2-template module it strips off the the first dollar sign and leaves me with `row.$expanded`. Any chance of a fix please? ```...
Templates are supposed to be declared relative to the individual folders that the template files are in, whereas this plugin expects them to be declared relative to the root module....