File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ jobs:
1717
1818 steps :
1919 - uses : actions/checkout@v6
20- - uses : oven-sh /setup-bun@v2
20+ - uses : utooland /setup-utoo@v1
2121 - name : size-limit
2222 uses : ant-design/size-limit-action@master
2323 with :
2424 github_token : ${{ secrets.GITHUB_TOKEN }}
25- package_manager : bun
25+ package_manager : ut
2626 build_script : dist
2727 env :
2828 NODE_OPTIONS : --max_old_space_size=4096
Original file line number Diff line number Diff line change 5454 "deploy" : " gh-pages -d _site -b gh-pages -f" ,
5555 "deploy:china-mirror" : " git checkout gh-pages && git pull origin gh-pages && git push git@gitee.com:ant-design/ant-design.git gh-pages -f" ,
5656 "predist" : " npm run version && npm run token:statistic && npm run token:meta && npm run style" ,
57- "dist" : " antd-tools run dist" ,
57+ "dist" : " npm run ut-install-react-18 && antd-tools run dist" ,
5858 "format" : " biome format --write ." ,
5959 "install-react-18" : " npm i --no-save --legacy-peer-deps react@18 react-dom@18 @testing-library/react@16" ,
6060 "ut-install-react-18" : " ut i react@18 react-dom@18 @testing-library/react@16 --save-dev" ,
347347 "tnpm" : {
348348 "mode" : " npm"
349349 }
350- }
350+ }
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ function addPluginsForProduction(config) {
7272 return newConfig ;
7373}
7474
75- let webpackConfig = getWebpackConfig ( false , { enabledReactCompiler : true } ) ;
75+ let webpackConfig = getWebpackConfig ( false ) ;
7676
7777if ( process . env . PRODUCTION_ONLY ) {
7878 console . log ( '🍐 Build production only' ) ;
You can’t perform that action at this time.
0 commit comments