didi / chameleon

🦎 一套代码运行多端,一端所见即多端所见
http://cml.didi.cn/
Apache License 2.0
9.02k stars 692 forks source link

编译速度太慢严重影响开发体验、版本 2.8 #659

Open jiangzhenggeng opened 1 year ago

jiangzhenggeng commented 1 year ago

编译速度太慢严重影响开发体验、版本 2.8

 "@mpxjs/api-proxy": "^2.8.0",
    "@mpxjs/core": "^2.8.0",
    "@mpxjs/fetch": "^2.8.0",
    "@mpxjs/pinia": "^2.8.0",
    "@mpxjs/store": "^2.8.0",
    "@mpxjs/utils": "^2.8.0",

DONE Compiled successfully in 14681ms 13:56:54

wx-compiler打包结果:

assets by status 259 KiB [cached] 69 assets assets by status 8.35 MiB [emitted] assets by path module-wfn/ 1.51 MiB 461 assets assets by path module-es/ 2.23 MiB 406 assets assets by path components/ 379 KiB 200 assets assets by path module-oa/ 1.75 MiB 155 assets assets by path pages/ 546 KiB 76 assets assets by path module-pm/ 889 KiB 26 assets assets by path template/.wxml 4.54 KiB 6 assets assets by path styles/.wxss 187 KiB 4 assets assets by path *.js 921 KiB asset bundle.js 774 KiB [emitted] [big] (name: bundle) (id hint: main) 1 related asset asset app.js 147 KiB [emitted] (name: app) 1 related asset asset app.json 12.2 KiB [emitted] (auxiliary name: app) asset app.wxss 1.26 KiB [emitted] (auxiliary name: app) wx-compiler (webpack 5.88.1) compiled successfully in 14681 ms

Tue Jul 18 2023 13:56:55 GMT+0800 (中国标准时间) build finished. Still watching...