Vít Rozsíval

Results 8 comments of Vít Rozsíval

Node child process is an event emitter, `shipit-cli` utils might allow to add custom event listeners on the process, or at least, add an error handler for `exit` event, which...

It appears to be connected with this issue: https://github.com/facebook/metro/issues/535. For me, adding the following to the `metro.config.js` config worked: ```js const { getDefaultConfig } = require('@expo/metro-config'); const config = getDefaultConfig(__dirname);...

@hyochan Turns out `cjs` extension is already included in the `@expo/metro-config`, only `mjs` needs to be added. About your error, that's really strange. It almost seems like in your case...

@marklawlor In my case only `mjs` modules cause the problem. I suppose `mjs` extension could be added here: https://github.com/expo/expo/blob/919bdd2921b64eb9399e35377d98d4ed6e07836f/packages/%40expo/metro-config/src/ExpoMetroConfig.ts#L96

@EvanBacon Can I track some other issue for the support of `mjs` modules?

@zanuarmirza That PR never got merged. Pls @NaotoshiFujita, could this be resolved? Missing `types` field in `exports` makes this awesome lib unusable in TypeScript ESM environments. Thanks!

Hey @devmor-j, your comment is not related to this issue, however, I would like to mention these points: 1. I believe you have misunderstood the Apollo docs. You can set...

https://caniuse.com/#search=webp