Evan Wallace

Results 542 comments of Evan Wallace

No plans at the moment, but could potentially be added (although it'd be very slow of course). What's your use case? I'm not aware of anyone else using this library,...

To be clear: Emulating WASM with SIMD would be _much_ slower than emulating WASM without SIMD. This is worth pointing out because the only reason to run WASM with SIMD...

Tree shaking in esbuild doesn't iterate until a fixed-point has been reached like some other minifiers. Instead there is a series of reductions that happen in the parser, some removal...

The difference you noticed is because esbuild doesn't attempt to tree-shake class methods, but it does attempt to tree-shake function declarations. Tree-shaking class methods is technically possible in a very...

I don't consider this to be a bug. Enabling the `esm` output format with tree shaking enables some transforms including hoisting the `import` statements to the top of the file....

I'm not sure what's up with Deno here but you're trying to use esbuild's npm library with Deno, not esbuild's Deno library with Deno. I suggest using esbuild's Deno library...

As a special case, esbuild supports some limited inlining of constants if they are declared at the top of the file. It doesn't contain a more advanced symbolic evaluator though...

Huh. That's very silly that a valid source map generates a warning. I suppose I could try to have esbuild work around this warning in Firefox. Thanks for letting me...

Thanks for the heads up. However, it looks like it's only at stage 2, which is defined as "There is a very high risk of incompatible changes, so they should...

The `footer` option sounds like an appropriate way to do this from within esbuild. However, it doesn't even sound like you need esbuild for this. I assume you could also...