gulp - What is the <%= syntax in the Angular2-Seed project? -


i see bunch of <% , <%= in angular2-seed project, it? angular2 thing, or gulp thing, or else?

it gulp template plugin. see:

https://www.npmjs.com/package/gulp-template

and in angular2-seed project can see being invoked in:

tools/tasks/seed/build.index.dev.ts 

the following extract file:

export = () => {   return gulp.src(join(app_src, 'index.html'))     .pipe(inject('shims'))     .pipe(inject('libs'))     .pipe(inject())     .pipe(plugins.template(templatelocals())) <-- here     .pipe(gulp.dest(app_dest)); }; 

Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -