fingerprintjs/fingerprint-pro-azure-integration

Investigate large bundle size of management function

TheUnderScorer opened this issue · 1 comments

Investigate large bundle size of management function

It seems that the Azure SDKs are the culprit here:
image

After looking at their repository, it seems that the problem is that most of the code is not tree-shakeable. There was an already reported issue: Azure/azure-sdk-for-js#22017 but it seems that it was not resolved in the end.

One proposed solution was to use their REST SDK library: https://www.npmjs.com/package/@azure-rest/arm-appservice however it is still in beta, so I don't think that it's a good idea to use it for now.

Until the REST SDK is stable, or tree-shaking is improved in their SDKs, and I'm not sure if we can reduce the bundle size, so I'm going to close this issue for now.