Ship TypeScript with JS source map to enable frontend debugging #11033

Closed
opened 2025-12-29 21:39:24 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Apr 15, 2025).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Tweak our frontend build script to include the TypeScript source in the distribution source map.

Justification

Shipping the TypeScript source will enable debugging script errors on production deployments.

Originally created by @jeremystretch on GitHub (Apr 15, 2025). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Tweak our frontend [build script](https://github.com/netbox-community/netbox/blob/main/netbox/project-static/bundle.js) to include the TypeScript source in the distribution source map. ### Justification Shipping the TypeScript source will enable debugging script errors on production deployments.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 21:39:24 +01:00
adam closed this issue 2025-12-29 21:39:24 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11033