Add modern bundle output option#634
Open
dicnunz wants to merge 1 commit into
Open
Conversation
|
@dicnunz is attempting to deploy a commit to the EGOIST's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Author
|
Revalidated this branch locally on May 13, 2026. Passed:
The remaining failed Vercel status is the team authorization gate shown in the Vercel comment, not a local test/build failure on this branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #182.\n\nIssueHunt bounty: https://issuehunt.io/r/egoist/bili/issues/182\n\n## Summary\n- Add a --modern CLI flag and output.modern config option\n- Build an additional .modern bundle for each requested format\n- Target native ES module browsers for the modern build and preserve modern async syntax\n- Add [modern] filename placeholder support while appending .modern by default\n- Document the CLI usage and add snapshot coverage\n\n## Tests\n- PATH=/Users/nicdunz/.nvm/versions/node/v16.20.2/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin:/Users/nicdunz/.codex/tmp/arg0/codex-arg05z9Jdd:/Users/nicdunz/.nvm/versions/node/v22.22.0/bin:/Users/nicdunz/bin:/Users/nicdunz/.local/bin:/Users/nicdunz/.lmstudio/bin:/opt/homebrew/opt/libpq/bin:/Library/Frameworks/Python.framework/Versions/3.13/bin:/Applications/Codex.app/Contents/Resources yarn test:unit --runInBand\n- PATH=/Users/nicdunz/.nvm/versions/node/v16.20.2/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin:/Users/nicdunz/.codex/tmp/arg0/codex-arg05z9Jdd:/Users/nicdunz/.nvm/versions/node/v22.22.0/bin:/Users/nicdunz/bin:/Users/nicdunz/.local/bin:/Users/nicdunz/.lmstudio/bin:/opt/homebrew/opt/libpq/bin:/Library/Frameworks/Python.framework/Versions/3.13/bin:/Applications/Codex.app/Contents/Resources yarn types\n- PATH=/Users/nicdunz/.nvm/versions/node/v16.20.2/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin:/Users/nicdunz/.codex/tmp/arg0/codex-arg05z9Jdd:/Users/nicdunz/.nvm/versions/node/v22.22.0/bin:/Users/nicdunz/bin:/Users/nicdunz/.local/bin:/Users/nicdunz/.lmstudio/bin:/opt/homebrew/opt/libpq/bin:/Library/Frameworks/Python.framework/Versions/3.13/bin:/Applications/Codex.app/Contents/Resources yarn prettier --check src/babel/preset.ts src/cli.ts src/index.ts src/plugins/babel.ts src/types.ts test/index.test.ts docs/README.md test/fixtures/modern/index.js\n- git diff --check
IssueHunt Summary
Referenced issues
This pull request has been submitted to: