sindresorhus / gulp-template

Render/precompile Lodash templates
MIT License
289 stars 77 forks source link

Why must `name` be defined? #15

Closed cayter closed 10 years ago

cayter commented 10 years ago

As topic.

sindresorhus commented 10 years ago

It's just an example use-case.

cayter commented 10 years ago

I'm getting an error here if I don't pass in name.

...
return gulp
    .src(srcPath)
    .pipe(template({
        app_theme: useConfig.APP_THEME ? useConfig.APP_THEME : 'indigo'
      })
    )
    .pipe(destPath);