Closed Alex-huxiyang closed 3 weeks ago
此次更改主要集中在 vite.config.site.ts
文件的修改,涉及别名解析和 CSS 预处理器选项。别名解析的更改包括将区域导入路径从 @nutui/nutui-react/dist/locale/enUS
更新为 @nutui/nutui-react/dist/locale/en-US
,以及将 @nutui/nutui-react-taro/dist/locales/en-US.ts
更新为 @nutui/nutui-react-taro/dist/locales/en-US
。在 CSS 预处理器选项中,scss
配置新增 api
属性,设置为 'modern-compiler'
,并引入 silenceDeprecations
选项以抑制特定的弃用警告。
文件路径 | 更改摘要 |
---|---|
vite.config.site.ts | 更新别名解析路径以标准化区域名称;更新 scss 配置,新增 api 和 silenceDeprecations 选项;修改 additionalData 示例路径。 |
.github/workflows/ci.yml | 调整 CI 工作流的 YAML 文件格式,统一 build 作业中各步骤的缩进。 |
vite.config.ts
文件,包含 api: 'modern-compiler'
属性,与本 PR 中 vite.config.site.ts
的相同属性直接相关。vite.config.site.ts
等配置文件的更改间接相关。size/L
在兔子洞里忙碌的我,
配置更新真是乐无穷。
别名标准化,路径清晰,
SCSS 选项新气象,
代码如春花般绽放,
兔子欢跳,乐无边! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 83.95%. Comparing base (
5938da7
) to head (7fb5cc3
). Report is 1 commits behind head on V3.0.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary by CodeRabbit
新功能
样式
next
分支运行。