I'm using urql (3.x) with create-react-app (5.x) and it appears the dev server is unable to find proper sourcemaps for wonka in particular:
WARNING in ./node_modules/wonka/dist/wonka.mjs
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '[path_to_project]/node_modules/src/callbag.ts' file: Error: ENOENT: no such file or directory, open '[path_to_project]/node_modules/src/callbag.ts'
This means debugging urql/wonka becomes more difficult, and it also makes a lot of noise for the React devserver logs that can make other issues easier to miss.
Any ideas what might be going on? Does wonka intentionally not ship with sourcemaps currently?
I'm using
urql
(3.x) withcreate-react-app
(5.x) and it appears the dev server is unable to find proper sourcemaps for wonka in particular:This means debugging urql/wonka becomes more difficult, and it also makes a lot of noise for the React devserver logs that can make other issues easier to miss.
Any ideas what might be going on? Does wonka intentionally not ship with sourcemaps currently?