前端Jenkins打包问题求助 原项目webpack4,我在项目优化改成用webpack5,项目编译快了很多,但是用Jenkins构建镜像还是一样的慢,加多了几个警告,求大佬支个招
warning "antd > rc-tree-select > rc-select > rc-trigger@5.2.8" has incorrect peer dependency "react-dom@>=16.9.0".
warning "antd > rc-tree-select > rc-select > rc-virtual-list > rc-resize-observer@1.0.0" has incorrect peer dependency "react-dom@>=16.9.0".
还有一个不确定是哪个模块的问题
[Docker] INFO: assets by path js/*.js 21.2 MiB
assets by chunk 9.31 MiB (id hint: vendors)
assets by status 2.59 MiB [big]
asset js/6486.js 528 KiB [emitted] [big] (id hint: vendors)
asset js/8087.js 527 KiB [emitted] [big] (id hint: vendors)
asset js/1914.js 526 KiB [emitted] [big] (id hint: vendors)
asset js/3865.js 287 KiB [emitted] [big] (id hint: vendors)
asset js/4187.js 274 KiB [emitted] [big] (id hint: vendors)
asset js/9626.js 254 KiB [emitted] [big] (id hint: vendors)
asset js/752.js 250 KiB [emitted] [big] (id hint: vendors)
63 assets
166 assets
asset d609fcf969e9e456c261.jpeg 84.1 KiB [emitted] [immutable] [from: src/assets/img/sheet-explain.jpeg]
asset index.html 2.72 KiB [emitted]
Entrypoint main [big] 8.59 MiB = 52 assets
orphan modules 3.8 MiB [orphan] 1128 modules
runtime modules 7.58 KiB 13 modules
modules by path ./node_modules/ 8.03 MiB
cacheable modules 8.03 MiB 3496 modules
optional modules 6.15 KiB [optional]
./node_modules/antd/node_modules/moment/locale/ sync ^\.\/.*$ 3.16 KiB [optional] [built] [code generated]
./node_modules/moment/locale/ sync ^\.\/.*$ 3 KiB [optional] [built] [code generated]
modules by path ./src/ 7.64 MiB (javascript) 84.1 KiB (asset)
modules by path ./src/pages/ 6.69 MiB 508 modules
modules by path ./src/services/ 182 KiB 9 modules
modules by path ./src/components/ 19.9 KiB 8 modules
modules by path ./src/utils/ 41.1 KiB 10 modules
modules by path ./src/routes/ 52.6 KiB 3 modules
modules by path ./src/*.css 5.64 KiB 4 modules
modules by path ./src/assets/ 593 KiB (javascript) 84.1 KiB (asset) 3 modules
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
js/4821.js (278 KiB)
js/6486.js (528 KiB)
js/main-e96e9bea.js (431 KiB)
js/main-1c1e0e8e.js (592 KiB)
js/9626.js (254 KiB)
js/3865.js (287 KiB)
js/1914.js (526 KiB)
js/8087.js (527 KiB)
js/752.js (250 KiB)
js/4187.js (274 KiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
|