Skip to content

build bin in esm format!#92

Closed
ryoppippi wants to merge 6 commits intohonojs:mainfrom
ryoppippi:esm
Closed

build bin in esm format!#92
ryoppippi wants to merge 6 commits intohonojs:mainfrom
ryoppippi:esm

Conversation

@ryoppippi
Copy link
Copy Markdown
Contributor

Hi! Thank you as always!

I changed the build format from cjs to esm to use esm only packages!

related to #91

@ryoppippi ryoppippi marked this pull request as draft April 1, 2025 00:25
@ryoppippi ryoppippi marked this pull request as ready for review April 1, 2025 00:28
@ryoppippi
Copy link
Copy Markdown
Contributor Author

sorry for my force-push, but it works!!

@ryoppippi ryoppippi changed the title built in esm format! build bin in esm format! Apr 1, 2025
@yusukebe
Copy link
Copy Markdown
Member

yusukebe commented Apr 1, 2025

Hi @ryoppippi

I want to know. Is there any problem with changing from CommonJS to ESM, such as create-hono not being able to be run in a certain environment?

@ryoppippi
Copy link
Copy Markdown
Contributor Author

I think it is okay when we make it esm only.
For example, create-astro is already esm only
https://node-modules.dev/#install=create-astro

I gonna fix the test

@ryoppippi
Copy link
Copy Markdown
Contributor Author

I found that we don't move to esm for now! we can use giget with cjs format because we use bundler
so I close this.
Thanks @yusukebe !

@ryoppippi ryoppippi closed this Apr 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants