Altinn / Altinn/app-frontend-react

Export source maps when building a release of app-frontend

Open
#1,763 0 comments 0 reactions 0 assignees View on GitHub
kind/other
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

With source-maps it becomes much easier to trace errors that may happen in finished builds, and even though the source map is quite large, it won't be downloaded unless you open the browser DevTools.

Now that the CDN doesn't have the storage issues it once had, this should be obtainable.

### Related issues
- https://altinndevops.slack.com/archives/C045EB3JA9X/p1706626290839569?thread_ts=1706620520.707779&cid=C045EB3JA9X
- #465

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by locating the release-build configuration and source-map handling in app-frontend, then run the release build and inspect its output; done means the finished release includes source-map artifacts that can be used by browser DevTools.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
build-system, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.