What are sourcemaps and how do I enable them on Layer0?

What are sourcemaps and how do I enable them on Layer0?

1 Like

Source Maps allow you to map combined, minified code back to the original source code that it was created from.

Source Maps are very useful when debugging deployed error messages and code.

You can read more about JS Source Maps here: Introduction to JavaScript Source Maps - HTML5 Rocks

You can enable them on Layer0 as described in these guides:

https://docs.layer0.co/guides/next#section_withlayer0
https://docs.layer0.co/guides/nuxt#section_adding_layer0_to_an_existing_nuxt_app

1 Like