Hacker News new | ask | show | jobs
by rich_harris 2291 days ago
Sure, it's easy: don't serve sourcemaps.

This isn't specific to Svelte though. In fact your code is much more obfuscated with Svelte than with most comparable tools, since you're not serving the code you actually wrote, but rather the output of a compiler (while this is technically true if you're using TypeScript/a minifier/whatever, it's qualitatively different).

1 comments

This is what makes svelte so incredibly powerful and worthy of consideration.

Not having a run time on the client is huge. But, the developer experience is exactly the same as you get from React and Vue.

You can trust this guy here, he knows what he is talking about.