Skip to content

Commit

Permalink
Add build task
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoulSchaffranek committed May 27, 2024
1 parent 8bfc301 commit b914c8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@
]
},
"scripts": {
"build": "npm run vscode:prepublish",
"vscode:prepublish": "npm run esbuild-base -- --minify && npm run esbuild-base-web -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=build/extension.js --external:vscode --format=cjs --platform=node",
"esbuild-base-web": "esbuild ./src/extension.web.ts --bundle --outfile=build/extension.web.js --external:vscode --format=esm --platform=browser",
Expand Down

0 comments on commit b914c8c

Please sign in to comment.