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

🚀 Feature: Remove sourcemap: true from tsup.config.ts #1909

Open
2 tasks done
JoshuaKGoldberg opened this issue Jan 22, 2025 · 1 comment
Open
2 tasks done

🚀 Feature: Remove sourcemap: true from tsup.config.ts #1909

JoshuaKGoldberg opened this issue Jan 22, 2025 · 1 comment
Labels
good first issue Good for newcomers, please hop on! status: accepting prs Please, send a pull request to resolve this! type: feature New enhancement or request

Comments

@JoshuaKGoldberg
Copy link
Owner

JoshuaKGoldberg commented Jan 22, 2025

Bug Report Checklist

Overview

For many years now, I've tried to publish sourcemaps in all projects I publish to npm. The idea was that it would be nice for folks debugging through the code to see the source, including pre-transpiled syntax sugar and TypeScript types.

More recently I've seen packages move away from sourcemaps:

I'm personally now in favor of removing sourcemaps from the default tsup.config.ts in CTA and its templates. But just to be safe, I'll leave this issue with status: in discussion for a while. If anybody knows of reasons to do this or not to do this, please post! 🙂

Additional Info

Note that this involves editing both the repo's tsup.config.ts and the blockTsup that generates it.

🎁

@JoshuaKGoldberg JoshuaKGoldberg added status: in discussion Not yet ready for implementation or a pull request type: feature New enhancement or request labels Jan 22, 2025
@JoshuaKGoldberg
Copy link
Owner Author

It's been a couple of weeks and I haven't changed my mind. Also typescript-eslint/typescript-eslint#9352 (comment) shows a lot of other projects not shipping sourcemaps. Accepting PRs.

@JoshuaKGoldberg JoshuaKGoldberg added good first issue Good for newcomers, please hop on! status: accepting prs Please, send a pull request to resolve this! and removed status: in discussion Not yet ready for implementation or a pull request labels Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers, please hop on! status: accepting prs Please, send a pull request to resolve this! type: feature New enhancement or request
Projects
None yet
Development

No branches or pull requests

1 participant