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

feat: remove sourcemaps #1963

Merged
merged 1 commit into from
Mar 6, 2025
Merged

feat: remove sourcemaps #1963

merged 1 commit into from
Mar 6, 2025

Conversation

JoshuaKGoldberg
Copy link
Owner

@JoshuaKGoldberg JoshuaKGoldberg commented Mar 6, 2025

PR Checklist

Overview

Per discussions linked in the issue, removes sourcemaps to significantly reduce the size of output files.

Target Package Size Unpacked Size Total Files
main 106.7 kB 609.9 kB 277
remove-sourcemaps 54.1 kB 369.9 kB 186
Comparison 49% smaller 39% smaller 32% smaller

Raw npm pack output on main:

npm notice Tarball Details
npm notice name: create-typescript-app
npm notice version: 2.2.0
npm notice filename: create-typescript-app-2.2.0.tgz
npm notice package size: 106.7 kB
npm notice unpacked size: 609.9 kB
npm notice shasum: dd0439e3a977c55bbfaa8449f73799314b925368
npm notice integrity: sha512-Z0nBEgLroJY5p[...]yi9LJdG28f9DA==
npm notice total files: 277

Raw npm pack output with this change:

npm notice Tarball Details
npm notice name: create-typescript-app
npm notice version: 2.2.0
npm notice filename: create-typescript-app-2.2.0.tgz
npm notice package size: 54.1 kB
npm notice unpacked size: 369.9 kB
npm notice shasum: 8f92517ecbd9dbffdba72b5dd11aeceaf7d61b9b
npm notice integrity: sha512-OaNzBaDi41IH5[...]HospZHaW1trEQ==
npm notice total files: 186

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

PR Compliance Checks Passed!

@JoshuaKGoldberg JoshuaKGoldberg merged commit 92ef8c8 into main Mar 6, 2025
14 checks passed
@JoshuaKGoldberg JoshuaKGoldberg deleted the remove-sourcemaps branch March 6, 2025 15:35
Copy link

codecov bot commented Mar 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.48%. Comparing base (5e594f1) to head (3b90a60).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1963      +/-   ##
==========================================
- Coverage   95.48%   95.48%   -0.01%     
==========================================
  Files          90       90              
  Lines        3636     3635       -1     
  Branches      214      214              
==========================================
- Hits         3472     3471       -1     
  Misses        164      164              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

github-actions bot commented Mar 6, 2025

🎉 This is included in version v2.3.0 🎉

The release is available on:

Cheers! 📦🚀

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.

🚀 Feature: Remove sourcemap: true from tsup.config.ts
1 participant