Evan Wallace
Evan Wallace
Another thread about this: #566. > I got very close using a plugin, by making onResolve of the dependency resolve to a generated stub file which imports and re-exports the...
> Right now I'm considering adding every single dependency as `external` and only bundle my own code, because I cannot know for sure if something inside my dependency tree will...
I'm reopening this as the fix for this broke an Amazon product that didn't pin the version of esbuild they were using. There's more context in #3819.
I've never heard someone say "kibibyte" and I would be very confused if someone had. I've only ever heard people use "kilobyte". So for me it would cause more confusion,...
I haven't closed this because this could theoretically be something that esbuild deals with. The `--target=` setting supports Safari versions and uses it for platform-specific syntax compatibility stuff, so esbuild...
Sorry about this. The class lowering transforms are extremely complicated as they all interact with each other. I'm not surprised to hear that there's another edge case like this. FWIW...
Sorry, I'm confused. You didn't provide a way to reproduce your issue. How are you generating the code in your post? Marking this issue as `unactionable` because it doesn't have...
Thanks. I can observe the same behavior as you. I put the repro into the playground here, for my reference: [(link)](https://esbuild.github.io/try/#YgAwLjIxLjUAewogIHB1YmxpY1BhdGg6ICcvYXNzZXRzLycsIC8vIFJlbW92ZSB0aGlzIGxpbmUgdG8gZml4IGVycm9yCiAgZW50cnlQb2ludHM6IFsnLi9zcmMvcmVuZGVySHRtbC5qcyddLAogIG91dGRpcjogJy4vZGlzdC8nLAogIGZvcm1hdDogJ2VzbScsCiAgdGFyZ2V0OiAnZXMyMDIwJywKICBidW5kbGU6IHRydWUsCiAgc3BsaXR0aW5nOiB0cnVlLAogIGxvYWRlcjogewogICAgJy5zdmcnOiAnZmlsZScKICB9Cn0AAHNyYy9yZW5kZXJIdG1sLmpzAGltcG9ydCBsb2dvVXJsIGZyb20gJy4vbG9nby5zdmcnCgpyZW5kZXJIdG1sKCkKCmFzeW5jIGZ1bmN0aW9uIHJlbmRlckh0bWwoKSB7CiAgY29uc3QgeyBQYWdlIH0gPSBhd2FpdCBpbXBvcnQoJy4vUGFnZS5qcycpCgogIGNvbnN0IGh0bWwgPSBgPCFET0NUWVBFIGh0bWw+CjxodG1sPgogIDxoZWFkPgogICAgPGxpbmsgcmVsPSJpY29uIiBocmVmPSIke2xvZ29Vcmx9IiAvPgogIDwvaGVhZD4KICA8Ym9keT4KICAgICR7UGFnZSgpfQogIDwvYm9keT4KPC9odG1sPmAKCiAgY29uc29sZS5sb2coaHRtbCkKfQoAAHNyYy9sb2dvLnN2ZwA8c3ZnLz4AAHNyYy9QYWdlLmpzAGV4cG9ydCBmdW5jdGlvbiBQYWdlKCkgewogIHJldHVybiAnSGVsbG8nCn0). I guess I still don't understand what you're doing....
I think it's unclear what should happen here until https://github.com/tc39/proposal-decorators/issues/529 is resolved, as the specification may be changed. Supposedly that may be resolved after the upcoming TC39 meeting (from June...
In that case, consider the following test case: ```js let old let block class Bar {} @(cls => (old = cls, Bar)) class Foo { static { block = Foo...