Skip to content

feat: support bundle new url#12679

Draft
JSerFeng wants to merge 16 commits intomainfrom
feat/bundle-new-url
Draft

feat: support bundle new url#12679
JSerFeng wants to merge 16 commits intomainfrom
feat/bundle-new-url

Conversation

@JSerFeng
Copy link
Contributor

@JSerFeng JSerFeng commented Jan 8, 2026

Summary

Support bundle new URL() syntax, which treat URLDependency as a block, and generate corresponding AsyncEntrypoint.

See RFC: support bundle new URL using parser.javascript.bundleNewUrl

Related links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

renovate bot and others added 13 commits January 7, 2026 10:14
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix: report error when access module_graph in loader

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…2632)

* feat(rstest): add preserveNewUrl option to keep new URL untouched

* fix: format Rust code with rustfmt
* fix(lint): enable await-thenable rule and fix violation

- Enable @typescript-eslint/await-thenable rule (off -> error)
- Remove unnecessary await on syncTraceEvent() which returns void

* Update rslint.json

---------

Co-authored-by: neverland <jait.chen@foxmail.com>
fix(lint): enable require-await rule and fix violations

- Enable @typescript-eslint/require-await rule (off -> error)
- FileSystem.ts: Add missing return for Promise, remove async
- SubresourceIntegrityPlugin.ts: Use Promise.resolve() instead of async
- browser/service.ts: Remove async from function that only throws
- loader-runner/worker.ts: Remove async from .then/.catch callbacks
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
feat: add constructor name for JS runtime module
* fix: incremental rebuild bug

* add test case

* fix: ci
@netlify
Copy link

netlify bot commented Jan 8, 2026

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit f87e5c0
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/6960a85b909ce90008b8326a
😎 Deploy Preview https://deploy-preview-12679--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added team The issue/pr is created by the member of Rspack. release: feature release: feature related release(mr only) labels Jan 8, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

📦 Binary Size-limit

Comparing f87e5c0 to feat: rspack_cacheable context expose project root (#12685) by jinrui

❌ Size increased by 16.50KB from 47.87MB to 47.89MB (⬆️0.03%)

@JSerFeng JSerFeng force-pushed the feat/bundle-new-url branch from 94b0253 to f87e5c0 Compare January 9, 2026 07:03
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

Rsdoctor Bundle Diff Analysis

Found 5 projects in monorepo, 0 projects with changes.

📊 Quick Summary
Project Total Size Change
react-10k 5.7 MB 0
react-1k 825.4 KB 0
rome 984.3 KB 0
react-5k 2.7 MB 0
ui-components 2.1 MB 0

Generated by Rsdoctor GitHub Action

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 9, 2026

Merging this PR will not alter performance

Summary

✅ 16 untouched benchmarks
⏩ 1 skipped benchmark1


Comparing feat/bundle-new-url (f87e5c0) with main (0d1d58f)

Open in CodSpeed

Footnotes

  1. 1 benchmark was skipped, so the baseline result was used instead. If it was deleted from the codebase, click here and archive it to remove it from the performance reports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: feature release: feature related release(mr only) team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants