Skip to content

Enable DDC's Library Bundle module system by default#815

Merged
schultek merged 1 commit into
schultek:feat/hotreloadfrom
Markzipan:ddc-library-bundle-by-default
Jun 8, 2026
Merged

Enable DDC's Library Bundle module system by default#815
schultek merged 1 commit into
schultek:feat/hotreloadfrom
Markzipan:ddc-library-bundle-by-default

Conversation

@Markzipan

Copy link
Copy Markdown

We're updating webdev to compile DDC apps using an updated Library Bundle module format by default, replacing the legacy AMD/Require module format. This new module format supports hot reload among other load-time optimizations.

If you encounter build failures, script errors, or loader issues after updating, you can opt back into the legacy AMD module format with the --module-format flag:

jaspr serve --module-format amd

See related change in webdev: dart-lang/webdev#2839

@Markzipan Markzipan requested a review from schultek as a code owner May 29, 2026 21:40
@docs-page

docs-page Bot commented May 29, 2026

Copy link
Copy Markdown

To view this pull requests documentation preview, visit the following URL:

docs.page/schultek/jaspr~815

Documentation is deployed and generated using docs.page.

@Markzipan

Copy link
Copy Markdown
Author

Note: this can land whenever, but ideally after this change (which is awaiting incoming hot restart changes): dart-lang/webdev#2839

@schultek schultek left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

LGTM.

Will merge this now. I hope to release hotreload soon as a beta version, but this would need dart-lang/build#4945 to be resolved first.

@schultek schultek merged commit ec0457c into schultek:feat/hotreload Jun 8, 2026
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.

2 participants