()
| 9 | import { sourcemapPlugin } from "./src/vite-plugins/sourcemapPlugin" |
| 10 | |
| 11 | function getGitSha() { |
| 12 | let gitSha: string | undefined = undefined |
| 13 | |
| 14 | try { |
| 15 | gitSha = execSync("git rev-parse HEAD").toString().trim() |
| 16 | } catch (_error) { |
| 17 | // Do nothing. |
| 18 | } |
| 19 | |
| 20 | return gitSha |
| 21 | } |
| 22 | |
| 23 | const wasmPlugin = (): Plugin => ({ |
| 24 | name: "wasm", |
no test coverage detected