Simen Bekkhus
Simen Bekkhus
Happy to switch to rollup (vite probably?) instead - I'm not particularly married to using webpack (it's just the one I got working (and the one I have by _far_...
FWIW, I think I'll just be checking the exports manually at build time and include an `mjs` file, which should skip the lexer entirely: https://github.com/jestjs/jest/pull/14661
getting a similar error trying to run `npm dedupe` in https://github.com/open-telemetry/opentelemetry-js-contrib - `npm install` completes just fine. ``` 6004 verbose stack TypeError: Cannot read properties of null (reading 'isDescendantOf') 6004...
Main issue is that we load the resolver _within_ the tests (https://github.com/facebook/jest/pull/12014#discussion_r739624598), which means it's pretty much blocked by full ESM support
It might make sense to not load it within, but that means people who have written it in TS or something that requires transpilation will fail. So not sure which...
Following up my old comment - I think we can just load the resolver outside of the tests. That gives ESM support, and if people wanna write it in TS...
PR welcome 🙂
https://github.com/istanbuljs/babel-plugin-istanbul/releases/tag/v7.0.1
Would it make sense to have a cron job that runs this script regularly so we get automated PRs? Similar to how we get node updates
Of course, sorry!