Skip to content

Commit

Permalink
Merge pull request #41 from FStarLang/esbuild
Browse files Browse the repository at this point in the history
Bundle using esbuild.
  • Loading branch information
gebner authored May 8, 2024
2 parents ae68d78 + ee2159b commit 58b8701
Show file tree
Hide file tree
Showing 9 changed files with 616 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"autoAttachChildProcesses": true,
"preLaunchTask": {
"type": "npm",
"script": "watch"
"script": "compile"
}
},
{
Expand Down
16 changes: 0 additions & 16 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,5 @@
"$tsc"
]
},
{
"type": "npm",
"script": "watch",
"isBackground": true,
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"panel": "dedicated",
"reveal": "never"
},
"problemMatcher": [
"$tsc-watch"
]
}
]
}
19 changes: 5 additions & 14 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
.vscode/**
.vscode
**/*.ts
**/*.map
.gitignore
**/tsconfig.json
**/tsconfig.base.json
contributing.md
.travis.yml
client/node_modules/**
!client/node_modules/vscode-jsonrpc/**
!client/node_modules/vscode-languageclient/**
!client/node_modules/vscode-languageserver-protocol/**
!client/node_modules/vscode-languageserver-types/**
!client/node_modules/{minimatch,brace-expansion,concat-map,balanced-match}/**
!client/node_modules/{semver,lru-cache,yallist}/**
**/node_modules
*/package*.json
.github
resources/screenshot.png
3 changes: 3 additions & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"engines": {
"vscode": "^1.86.0"
},
"scripts": {
"compile": "esbuild --bundle src/extension.ts --outfile=out/extension.js --tsconfig=tsconfig.json --platform=node --external:vscode --sourcemap"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
},
Expand Down
Loading

0 comments on commit 58b8701

Please sign in to comment.