-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SourceMap directory is incorrect #25
Comments
It should be noted that the sourceRoot also needs to be updated to get the proper sources. I decided to remove both options sourceRoot and mapRoot to see if the automatic TS settings would do the trick and it did! |
Good catch. Sorry for delay in responding. If you would like to do a PR with the relevant changes I would be happy to approve 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By the tsc config, ts expects the source maps to be in
sketch/sketch/build.js.map
. The source maps are actually generated intobuild/build.js.map
. I was able to fix the issue in my own project by changing the map root setting in tsconfig to../build
.You can confirm the issue by walking through the following process...
npm i
npm run start-compile
build/build.js
The text was updated successfully, but these errors were encountered: