Skip to content

Commit

Permalink
chore: reduce vscode extension bundle size (#1647)
Browse files Browse the repository at this point in the history
  • Loading branch information
zcf0508 committed Jul 3, 2024
1 parent ee28855 commit 73b8caa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion extensions/vscode/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ scripts

server/exe/**
!out/node_modules/**
!node_modules/@vscode/ripgrep/bin/rg
!node_modules/@vscode/ripgrep/bin/rg

media/**/*.gif
!media/sidebar.gif
2 changes: 1 addition & 1 deletion extensions/vscode/scripts/esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const esbuildConfig = {
external: ["vscode", "esbuild", "./xhr-sync-worker.js"],
format: "cjs",
platform: "node",
sourcemap: true,
sourcemap: false,
loader: {
// eslint-disable-next-line @typescript-eslint/naming-convention
".node": "file",
Expand Down

0 comments on commit 73b8caa

Please sign in to comment.