Skip to content

Commit c6210c1

Browse files
authored
Reduce loaded web modules (microsoft#165369)
1 parent fe5f564 commit c6210c1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

build/.webignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,16 @@ xterm-addon-webgl/out/**
3636
# This makes sure the model is included in the package
3737
!@vscode/vscode-languagedetection/model/**
3838

39+
# Ensure only the required telemetry pieces are loaded in web to reduce bundle size
40+
@microsoft/1ds-core-js/**
41+
@microsoft/1ds-post-js/**
42+
@microsoft/applicationinsights-core-js/**
43+
@microsoft/applicationinsights-shims/**
44+
!@microsoft/1ds-core-js/dist/ms.core.min.js
45+
!@microsoft/1ds-post-js/dist/ms.post.min.js
46+
!@microsoft/applicationinsights-core-js/browser/applicationinsights-core-js.min.js
47+
!@microsoft/applicationinsights-shims/dist/umd/applicationinsights-shims.min.js
48+
49+
50+
51+

0 commit comments

Comments
 (0)