Skip to content
New issue

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

V6 Stable Step #332

Merged
merged 23 commits into from
Jul 3, 2023
Merged

V6 Stable Step #332

merged 23 commits into from
Jul 3, 2023

Conversation

otakustay
Copy link
Member

No description provided.

BREAKING CHANGE: 如果有使用自定义`{entry}.config.mjs`并配置了`filename`选项,产出结构会发生变化。可在`filename`的值前缀加上`assets/`来修复。

BREAKING CHANGE: 如果配置中有自定义的`publicPath`,需要去掉配置值最后的`assets/`部分。
BREAKING CHANGE: 需要更新Vite至4.x版本配合使用
BREAKING CHANGE: 需要使用Webpack `5.74.0`以上版本
BREAKING CHANGE: 如需要继续使用`antd 4.x`版本,需手动指定`build.uses`加入`antd@4`值

BREAKING CHANGE: 移除`less-plugin-functions`的支持

BREAKING CHANGE: 移除原有对`.less`文件中的`calc`的特殊处理,如果有对`antd`的变量替换成CSS变量等特殊应用,会出现编译错误
修复了原先经常出现的`new dependencies optimized: core-js/modules/esnext.string.match-all.js, core-js/modules/esnext.string.replace-all.js`这一问题,针对`babel`引入`core-js`的逻辑做了特殊处理
BREAKING CHANGE: `jest`版本升级为`29.x`,snapshot测试等结果可能发生变化

BREAKING CHANGE: 移除了对`enzyme`的使用,请使用`@testing-library/react`进行组件测试

BREAKING CHANGE: NodeJS版本要求`16.10`及以上
@vercel
Copy link

vercel bot commented Jul 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
reskript ❌ Failed (Inspect) Jul 3, 2023 7:11am

@otakustay otakustay merged commit 442f0ec into master Jul 3, 2023
4 of 5 checks passed
@otakustay otakustay deleted the v6 branch July 3, 2023 07:03
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.

None yet

1 participant