Project with type Modules skips index.cjs
dan-turner opened this issue · comments
Dan Turner commented
Hi team,
In addition to this related issue where prompt.cjs
wasn't working, the same is true for index.cjs
, which is required for projects with "type": "module"
specified in the package.json
We need to add index.cjs
to the hooksfiles
variable. I will submit a PR.
Dan Turner commented
PR submitted: #434
Dan Turner commented
G'day @jondot! Any chance we could perhaps get this one in?
Luiz Américo commented
I published hygen-neo with fix similar to #434 (blikblum@e8f23c6). It has tests and improved typing