You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thank you for this project! It's such a simple, but powerful build tool ❤
I was curious if you've thought about using the presence of the hashbang (e.g. #!/usr/bin/env node) in a file to automatically infer binary configuration? It would be nice to not need a directory as part of the binary configuration and could lean into being a little less config or having to look up docs for it.
The text was updated successfully, but these errors were encountered:
Hi thanks for the feedback! The preseving of shebang #!/usr/bin/env node already works with bunchee. But for exposed commands in ./node_modules/<your lib>/<binary cmd>, you still needs to define it in "bin" field to configure it hence I add the convention bin folder to match the configuration in package.json.
I like the idea that we probably don't need the folder as it's almost same, will think about improvng that in the future release 🙌
First, thank you for this project! It's such a simple, but powerful build tool ❤
I was curious if you've thought about using the presence of the hashbang (e.g.
#!/usr/bin/env node
) in a file to automatically infer binary configuration? It would be nice to not need a directory as part of the binary configuration and could lean into being a little less config or having to look up docs for it.The text was updated successfully, but these errors were encountered: