Jason Miller

Results 1189 comments of Jason Miller

@smeijer we already transform npm modules, so there's not much need for module-specific patching. I can open a draft PR with the workaround I came up with, but we'd need...

I'd love a microbundle-examples repo.

It seems like glob pattern support would be fine to add without the addition of a second `--external-glob` flag, since `*` is not valid within npm package names. There's still...

I don't know when, but we landed support for regex externals in 0.13.

Hmm - yeah I think we're assuming that npm packages will not contain CSS as the entry point or in any imports within the entry point. I think we can...

We could probably inject `self.Worker` as a global and point it at `web-worker`, like we do for `location`: https://github.com/preactjs/wmr/blob/2c8521c9e4f525bc428a338bd6dfb80627826085/packages/wmr/src/lib/prerender.js#L61

Hi @olance! I haven't had a chance to review the code here yet, but I am struggling with the philosophical/directional impact. Microbundle was created to serve a very specific need:...

Indeed. One thing I forgot to mention in my reply that might help clarify: the original reason Microbundle did not include a way to bundle non-JS resources is because there's...

Yeah, CSS really seems like the #1 pain point here. As part of thinking about this, I've opened preactjs/wmr#260 to land support for bundling the above technique there (if it's...

Ideally, I'd like for Microbundle to use Rollup's built-in multi-entry support to achieve this.