06 Jul 2022
06:22 AM
- last edited on
20 Apr 2023
01:05 AM
by
educampver
Hi all, I'm trying to use dynamic imports to lazy load a library. But dt-app bundles this file in main.js. Is this known behavior? If so, can we actually change it somehow to split the code? esbuild(which is I guess the tool under_the_hood) allows automatic code splitting for dynamic imports
Solved! Go to Solution.
At the moment, this is not supported. ESBuild has this feature but it is considered experimental currently.