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

Invalid App Bundle: File ui/main.js.map too big

Radoslaw_Szulgo
Inactive

When trying to deploy an application we've hit into the problem as in the title. See screenshot below:

 

Radoslaw_Szulgo_4-1670873279632.png

What are the limits for the file? Is there any other than "just" reducing its size?

 

Screenshot 2022-12-12 at 20.29.10.png

 

Senior Product Manager,
Dynatrace Managed expert
1 REPLY 1

michal_zawislak
Dynatrace Advisor
Dynatrace Advisor

Hi Radosław,

The current limit for a single uncompressed file is 20 megabytes.
We hit a similar limitation recently and we decided to sacrifice source maps for being able to deploy an app.
We did that by adding

build: { ui: { sourceMaps: false } }

to the app.config.js

2022-12-13 09_09_14-● dtp.config.ts.png

Here you can find out more about available build options: https://developer.dynatrace.com/reference/app-toolkit/configuration/#build-options

Your AutomationEngine ally!

Featured Posts