Skip to content

Get sourcemaps working in devtools#879

Merged
Eric-Arellano merged 1 commit intoParkingReformNetwork:mainfrom
wordsandnumbers:sourcemaps
Jan 28, 2026
Merged

Get sourcemaps working in devtools#879
Eric-Arellano merged 1 commit intoParkingReformNetwork:mainfrom
wordsandnumbers:sourcemaps

Conversation

@wordsandnumbers
Copy link
Collaborator

@wordsandnumbers wordsandnumbers commented Jan 27, 2026

I noticed that the source code wasn't available in browser devtools in chrome, which I find extremely useful. It seems that parcel didn't quite know how to handle the main entry point as an import, so I followed the example here using 'src' instead: https://parceljs.org/getting-started/webapp/#project-setup and voilà:

Image

Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Can you please update the PR description with the motivation and link to where you saw this pattern? It can be brief

The PR description serves as future documentation for developers trying to understand why the code is set up this way.

@Eric-Arellano Eric-Arellano merged commit 154fcfc into ParkingReformNetwork:main Jan 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants