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

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

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

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

<span>build</span><span>: { </span><span>ui</span><span>: { </span><span>sourceMaps</span><span>: </span><span>false</span><span> } }<br></span>

to the app.config.js

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