Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable react-admin TS sourcemaps in production #82

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

djhi
Copy link
Collaborator

@djhi djhi commented Feb 7, 2025

Problem

Debugging in production is hard with transpiled sources

Solution

Enable TS sourcemap in production as explained at https://marmelab.com/react-admin/Vite.html#sourcemaps-in-production

How To Test

  • make build-demo
  • make run-prod
  • check that all react-admin related packages load their files from their src directory

@djhi djhi added the RFR label Feb 7, 2025
@fzaninotto fzaninotto merged commit f6459e6 into main Feb 7, 2025
5 checks passed
@fzaninotto fzaninotto deleted the production-sourcemaps branch February 7, 2025 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants