Sourcemaps when developing?
-
context: building a plugin using
wordpress/scriptsbuild process, the errors in console.log point to compiled files, making it a bit hard to debug things
—
picture 1: you can see how console logs take 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 take me directly here instead of me having to trace this down?)
is this expected or am I doing something wrong? 😅 any guidance appreciated
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Sourcemaps when developing?’ is closed to new replies.