I am trying to create source maps for real world halogen, https://github.com/thomashoneyman/purescript-halogen-realworld. If I use “spago bundle-app --source-maps --main Main --to dist/app.js && parcel build assets/index.html” I get a lot of error messages like:
"Could not load source file “output/Data.Function.Uncurried/index.js” in source map of “…/dist/app.js” .
I have looked at the documentation for spago and there is something written regarding creating source maps see here https://github.com/purescript/spago#get-source-maps-for-my-project. I dont understand step 2:
“source output (like
var someModule = require('./output/Whatever/index.js'); ) and use something like
parcel , to avoid mangling/destroying the sourcemaps”.
Can somebody please tell me what I have to do?