File tree Expand file tree Collapse file tree 5 files changed +116
-116
lines changed
Expand file tree Collapse file tree 5 files changed +116
-116
lines changed Original file line number Diff line number Diff line change 3939 "@typescript-eslint/parser" : " ^7.0.0" ,
4040 "concurrently" : " ^8.2.1" ,
4141 "cross-env" : " ^7.0.3" ,
42- "esbuild" : " ^0.27.0 " ,
42+ "esbuild" : " ^0.27.1 " ,
4343 "eslint" : " ^8.32.0" ,
4444 "eslint-config-prettier" : " ^8.6.0" ,
4545 "husky" : " ^8.0.0" ,
Original file line number Diff line number Diff line change 4747 "scripts" : {
4848 "build" : " tsc -b && pnpm bundle && pnpm make-executable && pnpm copy-lint-worker" ,
4949 "copy-lint-worker" : " copyfiles -u 4 ../lint-worker/dist/cjs/lintWorker.cjs dist/" ,
50- "bundle" : " esbuild ./src/server.ts --bundle --format=cjs --platform=node --outfile=dist/cypher-language-server.js --conditions=require" ,
50+ "bundle" : " esbuild ./src/server.ts --bundle --format=cjs --platform=node --outfile=dist/cypher-language-server.js --minify -- conditions=require" ,
5151 "dev" : " tsc --watch" ,
5252 "make-executable" : " cd dist && echo '#!/usr/bin/env node' > cypher-language-server && cat cypher-language-server.js >> cypher-language-server" ,
5353 "clean" : " rm -rf {dist,tsconfig.tsbuildinfo}"
Original file line number Diff line number Diff line change 4141 },
4242 "scripts" : {
4343 "build" : " pnpm build-types && pnpm build-lintworker-esm && pnpm build-lintworker-commonjs && pnpm build-commonjs && pnpm build-esm" ,
44- "build-lintworker-commonjs" : " esbuild ./src/lintWorker.ts --bundle --platform=node --conditions=require --outfile=dist/cjs/lintWorker.cjs --format=cjs" ,
45- "build-lintworker-esm" : " esbuild ./src/lintWorker.ts --bundle --platform=node --conditions=require --outfile=dist/esm/lintWorker.mjs --format=esm " ,
46- "build-commonjs" : " esbuild ./src/index.ts --bundle --platform=node --conditions=require --outfile=dist/cjs/index.cjs --format=cjs " ,
47- "build-esm" : " esbuild ./src/index.ts --bundle --platform=node --conditions=require --outfile=dist/esm/index.mjs --format=esm " ,
44+ "build-lintworker-commonjs" : " esbuild ./src/lintWorker.ts --bundle --platform=node --conditions=require --outfile=dist/cjs/lintWorker.cjs --format=cjs --minify " ,
45+ "build-lintworker-esm" : " esbuild ./src/lintWorker.ts --bundle --platform=node --conditions=require --outfile=dist/esm/lintWorker.mjs --format=esm --minify " ,
46+ "build-commonjs" : " esbuild ./src/index.ts --bundle --platform=node --conditions=require --outfile=dist/cjs/index.cjs --format=cjs --minify " ,
47+ "build-esm" : " esbuild ./src/index.ts --bundle --platform=node --conditions=require --outfile=dist/esm/index.mjs --format=esm --minify " ,
4848 "clean" : " rm -rf dist" ,
4949 "build-types" : " tsc --emitDeclarationOnly --outDir dist/types" ,
5050 "test" : " vitest run"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const ctx = await esbuild.context({
55 entryPoints : [ 'src/extension.ts' ] ,
66 bundle : true ,
77 format : 'cjs' ,
8- minify : false ,
8+ minify : true ,
99 sourcemap : ! production ,
1010 sourcesContent : false ,
1111 platform : 'node' ,
You can’t perform that action at this time.
0 commit comments