Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Use sourcemaps for production angular builds for sentry

Oliver Günther0016db6ed4c1
diff --git a/frontend/package.json b/frontend/package.json
index d8129feb938..86e5c59bb5c 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -122,7 +122,7 @@
},
"scripts": {
"prebuild": "./scripts/link_plugin_placeholder.js",
- "build": "ng build --prod",
+ "build": "ng build --prod --named-chunks --source-map",
"preserve": "./scripts/link_plugin_placeholder.js",
"serve": "node --max_old_space_size=8096 ./node_modules/@angular/cli/bin/ng serve --public-host http://localhost:4200",
"pretest": "./scripts/link_plugin_placeholder.js",