Evan Wallace
Evan Wallace
Closing as there is nothing to be done here. Hopefully the documentation in the above link is sufficient.
The best method is probably to run esbuild repeatedly on batches of files in this case. I don’t think support for this should be built in because it’s an edge...
The global name feature in esbuild works a little differently. But you don't need esbuild to do this for you. You can always just write that in your code if...
Huh. I was wondering if this would ever happen. I can add a setting for this.
Yes, this is a known issue. I'm planning to redesign this API to fix this error.
Thanks for the report. It looks like the code that handles subpath imports and the code that handles Yarn PnP are probably just in the wrong order. I will fix...
Wait, does Yarn actually even allow this? I tried writing a test for this but Yarn throws this error when I run the test code natively with Yarn: ``` Error:...
FWIW I don't think this is a good idea. This would likely be brittle at least due to how esbuild renames identifiers, so checking for `__reExport` wouldn't work in 100%...
Congrats! This is very exciting. I believe this PR also closes #39247.
Thank you for publishing the specification and the tests. I have updated my branch here, including incorporating the tests: https://github.com/evanw/esbuild/tree/yarn-pnp. Unfortunately many of the tests fail with the algorithm in...