alibaba / ice

🚀 ice.js: The Progressive App Framework Based On React(基于 React 的渐进式应用框架)

Home Page:https://ice.work

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

在使用build-plugin-fusion的0.1.23版本发布指定物料的主题时,有些组件的样式缺失了

shiwofeiwo opened this issue · comments

Describe the bug

在使用build-plugin-fusion的0.1.23版本发布指定物料的@alifd/theme-x主题时,有些fusion/next组件的样式缺失了(例如Step, Rating)

Expected behavior

生成的css中应该包含所有@alifd/theme-x的中所有的样式

Actual behavior

No response

Version of ice.js

2.x

Content of build.json or ice.config.mts

No response

Additional context

No response

提供复现 demo 方便排查

image
在图中路径下的view.css文件中无法找到.next-step相关的样式

复现demo

if (!externalNext && !ignoreTasks.includes(taskName) && !disableModularImport) {
umd 打包默认就是忽略样式注入的

if (!externalNext && !ignoreTasks.includes(taskName) && !disableModularImport) {

umd 打包默认就是忽略样式注入的

请问我要怎么配置才能让view.css里存在指定theme的fusion/next样式呢,目前生成的view.css中存在一些指定theme的fusion/next组件的样式,比如button,pagination,但是有些组件没有指定theme的样式,比如step, rating