3

I have a Svelte project where I'm used to debug my .svelte files inside the web browser in dev tools.

Don't know what changed but now searching for svelte files returns the processed javascript files. The mapped files are there, but I'm really wondering what happened. I just want to hide those javascript generated files.

Heres a screenshot showing the "duplicate" files:

Duplicate files Map & Javascript

I even tried to recreate a simple vanilla Vite/Svelte/Typescript project and face the same behavior.

Thought it was a chrome issue, but when I start my project with "npm run preview" only the typescript file shows.

Really wondering where is the problem

1
  • Same issue with React + TypeScript. I see ts/tsx files in the browser, but the content is compiled JS Commented Mar 27, 2023 at 11:00

2 Answers 2

1

Ok, seems to be related to Chromium. I have the problem with Chrome 111.

I tested on a computer with Chrome 105 and its working well. So something broke in a recent Chrome update.

I'll open another Question for that

Sign up to request clarification or add additional context in comments.

2 Comments

Any news about the problem?
For what it's worth - I also encountered the same problem (both in Chromium and Edge, working fine in Firefox) :(
0

@Nickon

Problem been reported to Chromium :

https://bugs.chromium.org/p/chromium/issues/detail?id=1425475

Didn't had time to create a sample though

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.