msgraph-sdk-javascript icon indicating copy to clipboard operation
msgraph-sdk-javascript copied to clipboard

Bundling and package size management

Open nikithauc opened this issue 4 years ago • 1 comments

As a developer, I want to use the Graph JS SDK with the entire API surface (via intellisence) but when I build my app using webpack (or any other bundling system), I want to bundle only the necessary code paths and not the entire API. This will lead to smaller bundles and improve developer velocity.

This will help web developers to stay within the boundaries of the acceptable regarding file sizes and will also speed up the loading time of NodeJS implementations.

Right now, when we are using the SDK, we generate >100mb bundles. This needs to change for our public preview.

AB#10761

nikithauc avatar Aug 17 '21 23:08 nikithauc

Similar to https://github.com/Azure/azure-sdk-for-js/issues/22017

nikithauc avatar Jun 03 '22 06:06 nikithauc

#979 fixes this.

nikithauc avatar Oct 26 '22 02:10 nikithauc