Skip to content

Commit 839349a

Browse files
authored
bundle with esbuild (#941)
1 parent a82a072 commit 839349a

File tree

5 files changed

+641
-18
lines changed

5 files changed

+641
-18
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
- run: npm ci
6868
- run: opam install dune cppo
6969
- run: npm run compile
70+
- run: npm run bundle
7071

7172
# These 2 runs (or just the second?) are for when you have opam dependencies. We don't.
7273
# Don't add deps. But if you ever do, un-comment these and add an .opam file.

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"--extensionDevelopmentPath=${workspaceRoot}"
1212
],
1313
"outFiles": [
14-
"${workspaceRoot}/client/out/**/*.js"
14+
"${workspaceRoot}/client/out/*.js"
1515
],
1616
"preLaunchTask": {
1717
"type": "npm",
@@ -25,7 +25,7 @@
2525
"port": 6009,
2626
"restart": true,
2727
"outFiles": [
28-
"${workspaceRoot}/server/out/**/*.js"
28+
"${workspaceRoot}/server/out/*.js"
2929
]
3030
},
3131
{

.vscodeignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ analysis.opam
1515
tools.opam
1616
.ocamlformat
1717
.ocamlformat-ignore
18+
client/node_modules
19+
server/node_modules
20+
_opam
21+
_build

0 commit comments

Comments
 (0)