Skip to content

Conversation

@Gaubee
Copy link
Contributor

@Gaubee Gaubee commented Jan 20, 2026

Summary

  • Add wujie-react dependency
  • Extend MiniappManifest with runtime?: 'iframe' | 'wujie' field
  • Extend vite plugins to inject runtime config per dev/build mode
  • Configure apps with server: iframe, build: wujie

What this PR does NOT do

This PR only adds the config infrastructure. The actual wujie runtime integration (launchApp分流, Container抽象, Bio bridge适配) will be done in a separate PR with:

  • Proper SOLID refactoring (ContainerManager interface)
  • Unit tests
  • Clean separation of concerns

Testing

  • pnpm typecheck passes
  • Manual testing: dev server starts, iframe mode works as before

- Add wujie-react dependency
- Extend MiniappManifest with runtime field
- Extend vite plugins to inject runtime config per dev/build mode
- Configure apps with server: iframe, build: wujie

Note: This PR only adds the config infrastructure.
The actual wujie runtime integration will be done in a separate PR
with proper SOLID refactoring and tests.
Base tag only affects relative paths. Absolute paths like /assets/xxx
are resolved against origin, ignoring base href.

This fix converts /assets/xxx to assets/xxx so base tag works correctly.
@Gaubee Gaubee merged commit fc1ebc2 into main Jan 20, 2026
5 checks passed
@Gaubee Gaubee deleted the feat/wujie-runtime branch January 20, 2026 18:40
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