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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -