Given dat.gui.module.js, what does *.map do?

Starting to switch to JS modules. I note dat.gui has not only a module version but also an accompanying file dat.gui.module.js.map. What does the latter do and is it optional?

Thanks

This is a so called source map file. It’s intended to debug minified production files and it’s optional. More information in:

1 Like

Thanks Mugen87 for the answer and the link to more information.

1 Like