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

fix(source map): handle source map in middle of file #392

Merged

Conversation

nwalters512
Copy link
Contributor

Fixes #389.

@privatenumber
Copy link
Owner

Thanks for the PR and issue!

I had to refactor the regex approach because previous use of regex has proven to be not as performant on larger files

@privatenumber privatenumber changed the title Only remove source map comments at the end of a file fix(source map): handle source map in middle of file Nov 17, 2023
@privatenumber privatenumber merged commit 497f69a into privatenumber:develop Nov 17, 2023
2 checks passed
@privatenumber
Copy link
Owner

🎉 This issue has been resolved in v4.1.3

If you appreciate this project, please consider supporting this project by sponsoring ❤️ 🙏

@nwalters512
Copy link
Contributor Author

Thanks for fixing this up and getting this merged!

@nwalters512 nwalters512 deleted the fix-source-map-removal branch November 17, 2023 16:19
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Source map stripping breaks with source map comments in middle of file
2 participants