Replies: 1 comment 1 reply
-
Setting buildOptions should generate sourcemaps (not on disk; they're generated on the fly); that being said there are some problems (See #3381) with generating these pkg sourcemaps. Right now it should work if you use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using
web-test-runner-plugin
for running some tests but unfortunately, whenever having a failing test it points me to the correct file but with wrong line and column:The original file here should be under
test/lib/catalogue.test.ts:104:3
in this case.After checking the link at
http://localhost:8000/_snowpack/link/test/lib/catalogue.test.js
I could see that sourcemaps are not being generated even withsnowpack.config.js
havingbuildOptions.sourcemap:true
andoptmize.sourcemap:true
as well?Is it currently possible to have those transformed files having sourcemaps enabled so web-test-runner can point to the correct place?
Beta Was this translation helpful? Give feedback.
All reactions