Commit 1ed46c0
committed
fix: move rmSync before esbuild so dist-pkg/api-server.mjs survives
The rmSync was placed after esbuild, deleting the JS bundle before
WASM files were copied. Moved it before esbuild so the directory is
cleaned first, then esbuild writes the bundle, then WASM files are
copied alongside it.1 parent 12ec688 commit 1ed46c0
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
| |||
85 | 89 | | |
86 | 90 | | |
87 | 91 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments