Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

nfischer
Copy link
Member

@nfischer nfischer commented Mar 8, 2025

No change to logic. This is a follow up to PR #1119. This change:

  • Deletes commands.js entirely and edits the 'files' section of package.json
  • Undoes some duplicate imports (ex. src/error)
  • Adds an explicit import for exec-child.js as a hint for the bundler

After this change, I expect that bundlers/minifiers such as esbuild will now correctly process shelljs.

Fixes #1160

No change to logic. This is a follow up to PR #1119. This change:

* Deletes commands.js entirely and edits the 'files' section of
  package.json
* Undoes some duplicate imports (ex. src/error)
* Adds an explicit import for exec-child.js as a hint for the bundler

After this change, I expect that bundlers/minifiers such as esbuild will
now correctly process shelljs.

Fixes #1160
@nfischer nfischer added fix Bug/defect, or a fix for such a problem refactor labels Mar 8, 2025
Copy link

codecov bot commented Mar 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.37%. Comparing base (127409c) to head (c759efc).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1194      +/-   ##
==========================================
- Coverage   97.37%   97.37%   -0.01%     
==========================================
  Files          35       35              
  Lines        1410     1408       -2     
==========================================
- Hits         1373     1371       -2     
  Misses         37       37              

☔ 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.

@nfischer nfischer added this to the v0.9.0 milestone Mar 8, 2025
@nfischer nfischer merged commit 1b3904a into master Mar 8, 2025
20 checks passed
@nfischer nfischer deleted the refactor-static-imports-followup branch March 8, 2025 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug/defect, or a fix for such a problem refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamic require() without .js extension breaks bundling (esbuild)
1 participant