alibaba / alibaba/ice

写插件想获取app的导出时,发现appExport在CSR模式下丢失问题

Open
#6,429 3 comments 0 reactions 1 assignee Claimed by @ClarkXia View on GitHub
bug
Dominant language
TypeScript
Stars
18.6k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

ice3的runServerApp.tsx 里面的 renderDocument 方法,在组装appContext的时候是不是少传了 appExport: app否则在CSR的时候 是没法拿到appExport字段的, 会导致SSR和CSR下行为不同

### Expected behavior

CSR和SSR下都能导出appExport

### Actual behavior

_No response_

### Version of ice.js

3.2.7

### Content of build.json or ice.config.mts

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.