Skip to content

issue with source maps + typescript + including .ts files from a sibling workspace #4706

Closed Answered by mischnic
nashspence asked this question in General
Discussion options

You must be logged in to vote

Also, when clicking on one of these .ts files I am shown the contents of the entry file index.html. So, seemly the mapping is off.

That sounds like Chrome is accessing a file the dev server isn't serving (and instead of 404, it returns the index - as common for SPA apps)

So, it’s not urgent that I get an answer to this, but I am trying to figure out what is causing this problem in the first place.

This is likely caused by these file being out of the project root (the directory with .git or a lockfile):

cc @DeMoorJasper

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
5 replies
@nashspence
Comment options

@gregid
Comment options

@nashspence
Comment options

@gregid
Comment options

@nashspence
Comment options

Comment options

You must be logged in to vote
5 replies
@nashspence
Comment options

@mischnic
Comment options

@nashspence
Comment options

@DeMoorJasper
Comment options

@nashspence
Comment options

Answer selected by DeMoorJasper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants