I have a few questions about splitting code, in pa...
# javascript
m
I have a few questions about splitting code, in particular this warning:
Copy code
asset 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)
b
This warning us to be ignored on kjs, nothing we can do about it yet