cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Lazy loading

sinisa_zubic
Dynatrace Champion
Dynatrace Champion

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

1 REPLY 1

imsingh
Dynatrace Advisor
Dynatrace Advisor

At the moment, this is not supported. ESBuild has this feature but it is considered experimental currently.

Featured Posts