chore: 🔧 add wasm build vscode task
All checks were successful
continuous-integration/drone/promote/production Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
RaviAnand Mohabir 2025-03-25 18:37:46 +01:00
parent b44f542c39
commit 0758f65b33

15
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,15 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build WASM binary",
"type": "shell",
"command": "GOOS=\"js\" GOARCH=\"wasm\" go build -o main.wasm",
"windows": {
"command": "$Env:GOOS = \"js\"; $Env:GOARCH = \"wasm\"; go build -o public/main.wasm"
}
}
]
}