06 Jul 2022
02:22 PM
- last edited on
20 Apr 2023
09: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.
06 Jul 2022 02:34 PM
At the moment, this is not supported. ESBuild has this feature but it is considered experimental currently.