We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RSC Server 构建产出的 stats 数据中的 rscCSSModules 信息,需要提供 modules 标记用来告知 client entry 应当如何引入 Server 构建遇到的 CSS 文件:
rscCSSModules
modules
{ // 现状 rscCSSModules: { path: 'xxx.css' }, // 期望 rscCSSModules: { path: 'xxx.css', modules: true }, }
同时 SDK 提供的 parseServerStats 方法中返回的数据结构也要做改变,目前只返回了 string[]:
parseServerStats
string[]
mako/packages/rsc/src/index.ts
Line 24 in 1c5b7f0
期望是返回原始结构由集成框架来处理引入
The text was updated successfully, but these errors were encountered:
@PeachScript 如果一个 css 同时被 css module import 和 普通 import 会有是什么处理方式?
Sorry, something went wrong.
@stormslowly 从代码预期的角度上来看,得有两条数据
sorrycc
Successfully merging a pull request may close this issue.
RSC Server 构建产出的 stats 数据中的
rscCSSModules
信息,需要提供modules
标记用来告知 client entry 应当如何引入 Server 构建遇到的 CSS 文件:同时 SDK 提供的
parseServerStats
方法中返回的数据结构也要做改变,目前只返回了string[]
:mako/packages/rsc/src/index.ts
Line 24 in 1c5b7f0
期望是返回原始结构由集成框架来处理引入
The text was updated successfully, but these errors were encountered: