Open
Description
We want to still generate the sourcemaps as part of the production build, but we do not want the link to appear on the bundle (the sourcemap can still be imported into the browser manually).
Related issue
dotnet/runtime#98288
- run NPM CI from the repo root.
- Look at the rollup config https://github.com/dotnet/aspnetcore/blob/main/src/Components/Web.JS/rollup.config.mjs
- Identify the setting you need to change on the configuration.
- Run npm run build.
- Check the output on src/Components/Web.JS/dist/Release
- Ensure that no source map information or link is present.