Luca
04/16/2024, 8:54 AMasset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
appWeb.js (1.76 MiB)
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main (1.76 MiB)
appWeb.js
webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit <https://webpack.js.org/guides/code-splitting/>
webpack 5.91.0 compiled with 3 warnings in 18281 ms
While I can hide the message with:
config.performance = {
hints: false
}
Is there anything I can do get it smaller on a production build?
I tried:
config.optimization = {
splitChunks: {
chunks: 'all',
},
};
But the site doesn’t load after thatKonstantin Tskhovrebov
04/16/2024, 9:06 AMKonstantin Tskhovrebov
04/16/2024, 9:08 AMOleksandr Karpovich [JB]
04/16/2024, 9:11 AMLuca
04/16/2024, 9:42 AMOleksandr Karpovich [JB]
04/16/2024, 9:45 AMLuca
04/16/2024, 9:46 AMLuca
04/16/2024, 9:47 AMLuca
04/16/2024, 9:47 AMLuca
04/16/2024, 9:47 AMLuca
04/16/2024, 9:49 AMOleksandr Karpovich [JB]
04/16/2024, 9:50 AMLuca
04/16/2024, 9:53 AMLuca
04/16/2024, 10:04 AMkotlin.js.ir.output.granularity=per-file
theoretically help? I think I read that somewhere on here… I was trying but gave up because I couldn’t get tailwind to work with useEsModulesOleksandr Karpovich [JB]
04/16/2024, 10:10 AMLuca
04/16/2024, 3:58 PMCarter
06/02/2024, 10:14 AMLuca
06/02/2024, 6:37 PMCarter
06/02/2024, 6:38 PMCarter
06/02/2024, 6:38 PMLuca
06/02/2024, 7:58 PM