codeBelt / generate-template-files

A simple generator to create custom template files for any application
https://medium.com/@robertsavian/generate-template-files-with-ease-19b320615359
MIT License
209 stars 31 forks source link

Multiply the entry and output #22

Closed ychow closed 5 years ago

ychow commented 5 years ago

how should i can set the entry is Array? and it could generator more than one file?

codeBelt commented 5 years ago

Would it need to have an array of output also? Can you explain the use case for an array of entry points?

Right now you point the entry.folderPath to a folder directory. It will generator all the files inside of that folder. Check out the examples folder in this project for examples of generating more than one file and single files.

codeBelt commented 5 years ago

Closing because this issue has gone stale.