Closed WildOsk closed 5 months ago
You can compile it to js manually.
the module
option might different between repos. If not working, please refer to ts compiler options.
/** package.json */
"scripts": {
"build-plop": tsc --module nodenext ./plopfile.ts --outDir . && prettier --write ./plopfile.js
}
But i guess at some point this will be supported natively(?) without needing to compile it first?
I think @crutchcorn has done quite a bit of work on getting this working. I believe it's close.
Good to know it's close 🙌🏼
Apologies, closing as a dupe of #297
I have read some threads on github about this but i dont get what to do.
I receive the following error you already know:
[PLOP] Something went wrong with reading your plop file TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts"