Skip to content

Use app insights basics versus the complete app insights package to reduce bundle size

Compare
Choose a tag to compare
@lramos15 lramos15 released this 01 Nov 19:35
· 19 commits to main since this release
cd3176a

Application insights web basics comes with the ability to pass in a fetch pollyfill that allows it to be used for both Node and Web. This is similar to what we already do for first party extensions using the 1DS package.

While there is no breaking changes here, the replacement of a key dependency with what should be an equivalent alternative may have unknown edge cases that were not accounted for, therefore the version has been bumped to reflect this.

Bundlephobia reports a 67Kb decline in bundle size with this change.