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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -