hyrious

Results 217 comments of hyrious

@sapphi-red That won't work. ```js > function foo() {} > Object.hasOwn(foo, 'name') true ```

Could it be solved by configuring your watching logic in the dev environment to exclude those output files?

1. Yes esbuild doesn't do this currently, you can wait for Evan's response then. 2. The comparison between old files and new files in memory needs at least one read...

I think it should be the latter case which seems more expected if you "desugar" the decorator: ```js class A { f() { return A } } const foo =...

You can use the [`external`](https://esbuild.github.io/api/#external) option to externalize a _path_ that won't be bundled: [Playground](https://esbuild.github.io/try/#YgAwLjI1LjQALS1idW5kbGUgLS1mb3JtYXQ9ZXNtIC0tZXh0ZXJuYWw6Li9tb2R1bGUuanMAZQBlbnRyeS5qcwBpbXBvcnQgeyBhYmMgfSBmcm9tICcuL2FiYy5qcycKCmlmIChkZWYpIHsKICBjb25zdCBteU1vZHVsZSA9IGF3YWl0IGltcG9ydCgnLi9tb2R1bGUuanMnKQp9AABhYmMuanMAY29uc29sZS5sb2coJ2FiYycpCmV4cG9ydCBsZXQgYWJjID0gMQAAbW9kdWxlLmpzAE5vdCBldmVuIG9wZW4gdGhpcyBmaWxlIGJlY2F1c2UgaXQgaXMgZXh0ZXJuYWxpemVkLg). You can also use [plugins](https://esbuild.github.io/plugins/#on-resolve-arguments) if your use case is that complex. Like ```js if...

Update: https://gist.github.com/hyrious/7120a56c593937457c0811443563e017

Same issue above, but here is the quick solution: Click **(Show Report)**; Copy contents between `-----BEGIN DOCUMENT-----` and `-----END DOCUMENT-----` to a TeX file like `1.tex`. Then compile it by...