Add Esbuild support
bretambrose opened this issue · 15 comments
bretambrose commented
Describe the feature
Using esbuild to build/package a JS project that uses the CRT is an exercise in frustration. We should smooth the sharp corners and provide README and/or sample-based guidance for people who wish to use esbuild.
Ideally we should provide solutions that
- use the browser distribution
- use the node distribution and support flexible lookups for the NAPI module, with detailed instructions
We may want to special case Lambda as well with a targeted sample.
We've also had a request for flexible NAPI module path lookup here: #214
I believe proper esbuild support would have to include flexible NAPI module resolution, and so I'm consolidating that request into this feature request as well.
Use Case
N/A
Proposed Solution
No response
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change