Michał Pierzchała
Michał Pierzchała
We're exploring the possibility to do so, but it requires some internal changes in Haul. Currently it's not possible. cc @satya164
We develop the next version of haul on next branch and disabled hot loader because it was just too hacky. We're happy to give Fast Refresh a try. Cc @zamotany...
cc @zamotany who's been working on something similar (CLI) recently.
@jukben Grab one I've done some time ago for Jest: https://github.com/facebook/jest/blob/master/eslint_import_resolver.js
Would be even nicer to make it npm module and use it in both projects 👍
I'm fine with copying this resolver and use here, but if we want to make it a package, then a separate repo
@jukben can you pick this up?
Cool, no rush!
If Jest is used in a monorepo and deps are hoisted, you need to pass custom `rootDir` pointing to the directory where it's hoisted. I know it's bad and we'd...
Looking at the config: https://github.com/matthargett/haul/blob/197449d0a776bd26a64c3478feefe99454d42881/fixtures/react_native_windows_current_jest_haste/jest.config.js#L14-L19 seems like you tell Jest to only look for a single platform but in both `react-native` and `react-native-windows`. It tries to resolve `Libraries/Image/Image.windows.js` from `react-native`...