After creating dist folder the appbundle size is more than 15MB. Facing issue in tizen and lg smart tv to load app

Please suggest any technique to split component into multiple app bundle files.
Tool like reactjs uses webpack to split code into chunks.

1 Like

Hi @Bhapri . The tool used by Lightning, Rollup, does indeed split the code. I’m very surprised about the bundle file size. Could it be that you’re pulling too much npm modules that you don’t require? How about asset files? How many components does your application have?

Thanks @eduardo for reply I will check and update you.


I checked on lightnings js official website. There is option of solid js flavor with vite configuration.

Please suggest we can use this example for smart tv app development or not.