Uploading sourcemaps from AIX webserver

Hello,

I can't figure out how to upload sourcemaps to kibana.

**Config for APM**
// using full condition instead of PROD variable (webpack will remove this code if syntax is like this)
if (process.env.NODE_ENV === 'production') {
  window.amp = initApm({
    // Set required service name (allowed characters: a-z, A-Z, 0-9, -, _, and space)
    serviceName: `web-fe - ${window.location.hostname}`.replaceAll('.', '-'),
    // Set custom APM Server URL (default: http://localhost:8200)
    serverUrl: `${window.location.origin}/apm/`, // 'https://dweb.test.lab:8443/apm/',
    // Set service version (required for sourcemap feature)
    serviceVersion: '', //process.env.WEB_PORTAL_VERSION,
    logLevel: 'debug'
  });
}

in apm-server I see following logs

{"log.level":"info","@timestamp":"2022-04-28T16:31:35.948+0200","log.logger":"request","log.origin":{"file.name":"middleware/log_middleware.go","file.line":63},"message":"request accepted","service.name":"apm-server","url.original":"/intake/v2/rum/events","http.request.method":"POST","user_agent.original":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0","source.address":"10.10.241.246","http.request.body.bytes":1904,"http.request.id":"e2f98125-8b5f-4e1c-9d05-3b48016db680","event.duration":274665,"http.response.status_code":202,"ecs.version":"1.6.0"}'

I also dont understand documentation

How does it work after sourcemaps are created ? Do I need to upload them just to apm-server and will it automatically upload it to kibana ?

Our webserver is running on AIX so uploading via curl is not possible (It is forbidden to install packages like curl on it)

With new release of app, sourcemaps are generated and I can find them .chunk.js.map files on webserver, but I cant figure it out how to get to the point that I would see stacktrace in kibana

Configuration on Elasticsearch and apm-server is correct, version compatibility for elk stack is also correct for sourcemaps to work, kibana endpoint in apm-server is configured, I have verified it on this forum some time ago.