chore: reduce vscode extension bundle size (#1647)
This commit is contained in:
parent
ee2885549d
commit
73b8caa776
2 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue