Skip to content

Commit 21cc1a5

Browse files
authored
Bundle the extension into one js file with esbuild. (clangd#287)
This reduces vsix size from 1.5MB -> 500KB, and activate time by 60ms or so. Note that esbuild consumes TS directly rather than running tsc, and doesn't produce diagnostics. However they still show up in the editor, and `test` will still fail on tsc compile errors.
1 parent 038c571 commit 21cc1a5

File tree

3 files changed

+429
-11
lines changed

3 files changed

+429
-11
lines changed

.vscodeignore

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
.*
2-
.*/**
3-
out/test/**
4-
test/**
5-
src/**
6-
**/*.map
7-
tsconfig.json
8-
DEVELOPING.md
1+
**
2+
!*.md
3+
!*.png
4+
!doc-assets/**
5+
!icon.png
6+
!out/bundle.js
7+
!package.json

0 commit comments

Comments
 (0)