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

Expose browserify sourcemap feature in plugin interface. #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tmaslen
Copy link

@tmaslen tmaslen commented Mar 21, 2021

This feature allows users to output a sourcemap with the generated minified file.

This will then lead to stack traces pointing to lines in the original source files, this makes working on errors much nicer.

Source maps with NodeJS in Lambda is available from version 12, to configure it you need to also enable the NodeJS option using an environment variable like this: NODE_OPTIONS: --enable-source-maps

@tmaslen
Copy link
Author

tmaslen commented Mar 21, 2021

By default browserify generates an inline sourcemap data URL and adds it into the minified script.

If you're not happy with this I can make it generate an external source map.

@J4YF7O
Copy link

J4YF7O commented Nov 14, 2021

It is a pity that this PR does not progress. It would be very useful especially with reporting tools such as Sentry.

Thks for it @tmaslen

@Rayyan98
Copy link

Want

@ea-tal
Copy link

ea-tal commented Dec 28, 2022

I think it's not going to happen
We forked it.

@Rayyan98
Copy link

Rayyan98 commented Jan 5, 2023

Yes, just saw on npmjs that it is no longer maintained. Anyway, is your commit above prod ready ?

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.

4 participants