-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project with type Modules skips index.cjs #433
Comments
…e type packages Closes: jondot#433
PR submitted: #434 |
G'day @jondot! Any chance we could perhaps get this one in? |
I published hygen-neo with fix similar to #434 (blikblum@e8f23c6). It has tests and improved typing |
…e type packages Closes: jondot#433
For those searching for a temporary solution like me, you can simply leave the
After that, Hygen will work again in ES Module projects. |
Hi team,
In addition to this related issue where
prompt.cjs
wasn't working, the same is true forindex.cjs
, which is required for projects with"type": "module"
specified in thepackage.json
We need to add
index.cjs
to thehooksfiles
variable. I will submit a PR.The text was updated successfully, but these errors were encountered: