Check Core bundle size warning when building code locally
ndricimrr opened this issue · comments
Ndricim commented
Waldemar Mazurek commented
It comes from Vite config where 'chunkSizeWarningLimit' is set to 530 kB - what's interesting, in 'bundlesize' script limit for reported 'luigi.js' file is set to 650 kB and its original size on Windows is 519 kB (in Vite output it's 531 kB - 'core/public/luigi.js')
Possible solutions - either we increase the limit in Vite config or investigate how to decrease the size of 'luigi.js' file (dynamic imports might be a good option)