Evan Wallace

Results 542 comments of Evan Wallace

It's probably possible to do this without modifying `cjs-module-lexer` (and also without reading the exports of the re-exported package). Modifying `cjs-module-lexer` to match esbuild's generated output based on identifiers would...

Code splitting splits on any shared code, either statically or dynamically imported. This is documented here: https://esbuild.github.io/api/#splitting. This behavior is intended. It both reduces downloaded code when moving between entry...

The run-time code is currently in a single JavaScript file, which exists as a string (or more accurately a function that returns a string based on compiler options) within the...

Others have encountered something like this in the past: https://github.com/evanw/esbuild/issues/1842. Unfortunately I can't reproduce this myself, and I was unable to fix it. Marking as `unactionable` because I likely won't...

@jfirebaugh Thanks very much for the detailed post. I wasn't aware of this issue with `WaitGroup`. I'll work on removing the data race.

Just pushed a potential fix for this issue. I'm going to consider this fixed and close this issue since there isn't enough information to verify the fix. We can reopen...

This isn't a bug. This is just how `tsconfig.json` handling works in esbuild. Since esbuild potentially reads multiple `tsconfig.json` files during a build, this behavior lets you have separate settings...

You can pass an esbuild-specific tsconfig file if you don't want esbuild to use that `tsconfig.json` file: https://esbuild.github.io/api/#tsconfig. The file can be empty, or it can include whatever custom settings...

This doesn't appear to be released yet, so I'm not going to do this yet. The TypeScript team has changed their mind and unshipped features before a release in the...

FYI I'm going to move forward with this now that the TypeScript team has [announced that this feature is stable](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9-rc/).