martmists
08/07/2022, 2:27 AMasset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
index.js (516 KiB)
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main (516 KiB)
index.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/>
After going to that website it remains a bit unclear how I should approach this, for two reasons:
• How do I effectively set this up for Kotlin/JS?
• The generated filenames by this action seem somewhat random; How would I handle this in my pebble templates? (currently hardcoded to index.js)Big Chungus
08/07/2022, 9:05 AM