Evan Wallace

Results 542 comments of Evan Wallace

Just realized I haven't commented on this yet. I think this could be a cool feature, but I assume that most people who want to do this would also need...

> Can I now replace `live-server` with esbuild or am I confused about the new feature? Cheers. No, you can't use this feature to replace `live-server`. I would keep using...

Thanks for the suggestions. Some of these make sense for esbuild, and I can add them. However, I think I won't do all of them. For example: ```diff - var...

> much better do this: > > ```diff > - var y = (e) => { M(), Te() }; > + var y = _ => { M(), Te() };...

This is not a bug, but rather an expected outcome of the way esbuild's enum inlining works. Files in esbuild are compiled in parallel and then one round of inlining...

This general type of issue has been reported before: #1958 and #2164. I tried to support the "mark all packages as external" use case by reusing an existing mechanism (`--external`)...

I wasn't aware that esbuild is being used as a minifier in vscode. That's very cool! Right now I'm hard at work solidifying esbuild's core. I'm currently in the middle...

Can't you write a plugin for this yourself, without any changes to esbuild? Just have the plugin generate a virtual file that only re-exports some exports.

Yes, once with your plugin and once with esbuild. That's how you do AST manipulation in esbuild though, since esbuild doesn't have built-in direct AST manipulation. This library would probably...

This is a known limitation with esbuild. Tree shaking is supported with `import * as x` but not when `x` is then re-exported and re-imported. Imports are only tracked through...