Evan Wallace

Results 417 comments of Evan Wallace

This bug has to do with lightgl.js I believe. I've experienced this in Chrome before but every time I try to debug it, the problem disappears. The first time I...

Sure, I'll give the explanation a shot. The emscripten compiler has a strange JavaScript library format (the files passed via '--js-library'). Instead of a library being JavaScript code that is...

I see. The difference in our case is that we're writing an app in emscripten from scratch instead of porting existing code. For example, we have a custom shim for...

There is currently no way to do this, sorry.

Multi-level optimizations like this are currently out of scope, sorry. The optimizer would have to deduce that `Component` isn't used (since it's only used for `instanceof`), which would then need...

I have considered this. However, this goes against the design of import assertions. From [the import assertion specification](https://tc39.es/proposal-import-assertions/#sec-hostresolveimportedmodule): > _moduleRequest_.[[Assertions]] must not influence the interpretation of the module or the...

Binary resources that don't need to be parsed such as PNG, JPEG, and font files are all the same to a bundler. Fonts don't need to be special cased as...

I'm starting to work on CSS support. I just landed a basic parser and AST, and will be working on integrating it into the build system next. Note that I'm...

> https://github.com/tc39/proposal-import-assertions Import assertions seem unrelated to CSS to me. They just look like a way to tell the runtime what the file type is. Bundlers already have a way...

> The idea for the standard CSS modules is that they will return an instance of `CSSStyleSheet` (https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet and https://developers.google.com/web/updates/2019/02/constructable-stylesheets). So a "polyfill" would instantiate it with the css text....