I went through documentation of js.Build
but I haven’t found anything about sourcemap for generated files.
The esbuild is supporting sourcemaps, though.
How can I generate sourcemaps for output files?
Thanks
I went through documentation of js.Build
but I haven’t found anything about sourcemap for generated files.
The esbuild is supporting sourcemaps, though.
How can I generate sourcemaps for output files?
Thanks
I have updated the documentation. You need to do
{{ $js := resources.Get "js/main.js" | js.Build (dict "sourcemap" "inline" ) }}
Inline is currently the only option.
OK, my example was slightly off (copy and paste …)
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.