Subscribe on changes!

Source map supports

avatar
May 7th 2020

I have tried do few things with Vite and it's indeed a huge progress. One thing would really help while debugging bigger projects is source map support. It would be nice if I could in Debug Tools see the code being edited not the transpiled code.

avatar
May 7th 2020

TS and vue files should already have source maps during dev. There is not much point in generating source maps for plain .js modules since they are almost identical to the original (only some imports are adjusted).

Build source maps will be coming in the next release.

Do you have an example where source map is not working as expected during dev?

avatar
May 7th 2020

@yyx990803 yes, in the latest 0.11.5 version sourcemaps just work. Thank you