Replace virtual modules with runtime bindings - #4757
Draft
infomiho wants to merge 2 commits into
Draft
Conversation
Deploying wasp-docs-on-main with
|
| Latest commit: |
a16461c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://90a5d0b2.wasp-docs-on-main.pages.dev |
| Branch Preview URL: | https://miho-sdk-bundler-migration.wasp-docs-on-main.pages.dev |
infomiho
had a problem deploying
to
fly-deploy-test
August 24, 2026 12:35 — with
GitHub Actions
Failure
infomiho
had a problem deploying
to
railway-deploy-test
August 24, 2026 12:35 — with
GitHub Actions
Failure
@wasp.sh/spec
@wasp.sh/wasp-cli
@wasp.sh/wasp-cli-darwin-arm64-unknown
@wasp.sh/wasp-cli-darwin-x64-unknown
@wasp.sh/wasp-cli-linux-arm64-glibc
@wasp.sh/wasp-cli-linux-x64-glibc
@wasp.sh/wasp-cli-linux-x64-musl
commit: |
infomiho
temporarily deployed
to
railway-deploy-test
August 24, 2026 13:36 — with
GitHub Actions
Inactive
infomiho
temporarily deployed
to
fly-deploy-test
August 24, 2026 13:36 — with
GitHub Actions
Inactive
infomiho
force-pushed
the
miho/sdk-bundler-migration
branch
from
August 24, 2026 14:24
dac5772 to
a16461c
Compare
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.
Description
Replace server-side virtual user modules with explicit runtime bindings and make the generated Wasp SDK a regular external server dependency.
The generated server now initializes runtime bindings before loading application code, emits server and seed entry points through one multi-entry Rollup build, and lazily loads operations to preserve operation-to-operation imports. The client environment schema uses a dedicated Vite virtual module rather than the old generic virtual-user-module plugin.
This also updates generated package scripts, Docker and Render build commands, compiler coverage, and generated snapshots.
Type of change
Checklist
I tested my change in a Wasp app to verify that it works as intended.
🧪 Tests and apps:
examples/kitchen-sink/e2e-tests.waspc/data/Cli/templates, as needed.examples/, as needed.examples/tutorials) I updated the tutorial in the docs (and vice versa).📜 Documentation:
web/docs/.🆕 Changelog: (if change is more than just code/docs improvement)
waspc/ChangeLog.mdwith a user-friendly description of the change.web/docs/migration-guides/.versioninwaspc/waspc.cabalto reflect the changes I introduced.