Skip to content

Commit a5dbc0f

Browse files
Add GitHub (#18)
* Add GitHub * smaller build
1 parent baee9da commit a5dbc0f

File tree

8 files changed

+2417
-83
lines changed

8 files changed

+2417
-83
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,4 @@ dist
129129
.yarn/install-state.gz
130130
.pnp.*
131131
*.vsix
132-
.vscode/settings.json
133-
package-lock.json
132+
.vscode/settings.json

.vscodeignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,21 @@ vsc-extension-quickstart.md
1010
**/.eslintrc.json
1111
**/*.map
1212
**/*.ts
13+
.git/**
14+
webpack.config.js
15+
esbuild.js
16+
.github/**
17+
CHANGELOG.md
18+
.npmrc
19+
.npmignore
20+
.editorconfig
21+
.prettierrc
22+
.prettierignore
23+
jest.config.js
24+
coverage/**
25+
**/*.vsix
26+
test/**
27+
docs/**
28+
examples/**
29+
*.log
30+
resources/*.gif

esbuild.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ async function main() {
1515
outfile: 'dist/extension.js',
1616
external: ['vscode'],
1717
logLevel: 'silent',
18+
treeShaking: true,
19+
drop: production ? ['console'] : [],
1820
plugins: [
19-
/* add to the end of plugins array */
2021
esbuildProblemMatcherPlugin
2122
]
2223
});

0 commit comments

Comments
 (0)