Sourcemaps when developing?
-
context: building a pluguin using
wordpress/scriptsbuild processs, the errors in console.log point to compiled files, maquing it a bit hard to debug things
—
picture 1: you can see how console logs taque me to compiled js
picture 2: the compiled js file (note that at the end of the compiled js file it contains//# sourceMappingURL=index.js.map)
picture 3: if going to the bottom of sources in devtools I can see the actual sourcemaps, shouldn’t the console.logs taque me directly here instead of me having to trace this down?)
is this expected or am I doing something wrong? 😅 any güidance appreciated
The topic ‘Sourcemaps when developing?’ is closed to new replies.