Remove @microsoft/applicationinsights-web dependency
- Also replace WebAppInsightsAppender with NullAppender
How to test?
You can update the vscode_version.json
of the gitlab-web-ide
project to use the build artifact from this MR.
diff --git a/packages/vscode-build/vscode_version.json b/packages/vscode-build/vscode_version.json
index 2d8b458..bacfd79 100644
--- a/packages/vscode-build/vscode_version.json
+++ b/packages/vscode-build/vscode_version.json
@@ -1,5 +1,5 @@
{
"type": "url",
- "location": "https://gitlab.com/gitlab-org/gitlab-web-ide-vscode-fork/-/package_files/47251282/download",
- "version": "1.69.1-1.0.0-dev-20220725055226"
+ "location": "https://gitlab.com/gitlab-org/gitlab-web-ide-vscode-fork/-/jobs/2945469975/artifacts/raw/.build/vscode-web-dist/vscode-web-1.69.1-1.0.0-dev-20220829034959.tar.gz",
+ "version": "1.69.1-1.0.0-dev-20220829034959"
}
Screenshots
This results in about 50M of uncompressed package size reduction (203M vs. 155M), which ends up being about 7M of compressed package size reduction.
When hooking this MR's build artifact into the web-ide
, it looks like everything still works and will save more than 10M of uncompressed package size
Context
Edited by Paul Slaughter