Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 338 Bytes

sch-apply-merge-templates.md

File metadata and controls

18 lines (15 loc) · 338 Bytes

sch-apply-merge-templates

Apply and merge templates

const ${1:templateSource} = apply(url('${2:./files}'), [
  applyTemplates({
    classify: strings.classify,
    dasherize: strings.dasherize,
    name: options.name
  }),
  move(normalize(options.path as string))
]);

return chain([
  mergeWith(${1:templateSource})
]);