Guy Bedford

Results 1051 comments of Guy Bedford

Note that the above should ideally work regardless of whether the object property is a literal or if it is itself an object or function or something else.

Amazing to hear that. > Depending on how the new wrapper is constructed, my hope is that this should already be enough to enable tree-shaking for CJS files even with...

We're in the process of discussing where ComponentizeJS best belongs, and currently it's an open question and has been considered on both sides for either moving ComponentizeJS into Jco or...

Thanks for digging into this. The expectation for protection during development was always that it would only crash the Wasm process and therefore we'd wrap that in a JS error...

Import maps are supported natively in modern Chrome - so the polyfill will not apply if you are only relying on a feature like import maps that is already supported....

@benj-p you may find that the root cause here is https://github.com/WICG/import-maps/issues/248. Unfortunately it's a bit of a gotcha, and is best treated as an "extension issue" actually currently.

This should now be resolved by the v2 multiple import maps feature.

There's another intermediate fix we could add here for an error saying trailers are unsupported.

Thanks for creating the PR, can't we just make the external path the default build approach instead of bifurcating the entire build process? The base64 technique comes from es-module-shims which...