TypeStrong / TypeStrong/ts-loader
Safari shows "An error occurred trying to load the resource." when loading ts breakpoint
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.5k
- Forks
- 439
- Avg merge
- 17h 17m
- Merged PRs (30d)
- 2
Description
Expected Behaviour
I can debug ts code in Safari directly
Actual Behaviour
Safari shows "An error occurred trying to load the resource." when loading ts breakpoint
Steps to Reproduce the Problem
I tried all the devtool mode, and the source map are currently, but Safari can only load the js file in search page, and I can see the breakpoint in search page's js file, but in Source page, the breakpoint hits in ts file, and Safari shows this:
Location of a Minimal Repository that Demonstrates the Issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Safari failure with the ts-loader webpack setup described, checking the devtool mode and source-map configuration. No minimal repository, files, or tests are provided; done means Safari can load the TypeScript source and hit breakpoints without the resource error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, webpack
- Domain
- build-system, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100