Angular Snippets

Make source maps available for reporting tools

json sourceMaps

Do you want to upload source-map to an reporting tool like @datadoghq , but want to make sure no one can debug the code due to sourceMap


Set below property in build options, the source-map will not be mapped to the bundle, but you will get a source map.

"sourceMap": {
  "hidden": true,
}
hidden source map for production
Back to snippets