Jason Miller

Results 1189 comments of Jason Miller
trafficstars

Hi @davezuko - what OS was this on? `devcert` does different strategies per-OS, and we've mainly tested the mac and windows ones.

This is quite difficult in Rollup. I've got some stuff locally, but nothing that works yet.

Microbundle's babel configuration is generated here: https://github.com/developit/microbundle/blob/afa74ca46b455c7cb76ac7e6c656b1f32012d2cd/src/lib/babel-custom.js#L171 `useBuiltIns:'entry'` is not supported because it modifies the global runtime environment, which is something libraries generally should avoid doing. For Object.assign, you could...

@lvzegeng it will overwrite the default configuration.

Hmm - doesn't the readme say that using `wmr.config.js` requires setting `{"type":"module"}` in your package.json? `npm init wmr` should also set that property correctly.

oh! we should change that - without "type":"module" I think prerendering breaks on Node 12.12 or something like that.

Interesting. This seems like a bug in PostCSS / cssnano (we just run it here).

Hmm - importing with a version should already be supported, but it does seem like we've mucked something up here. FWIW you can use the `"resolutions"` or `"dependencies"` package.json fields...

I think my numbers are around 20s cold, 10s warm. This is very exactly the worst-case setup for WMR though: it's typescript with JSX, so we pass modules through both...