add web version
This commit is contained in:
parent
87b8936393
commit
02a553e3fd
2 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,8 @@
|
||||||
"bugs": "https://git.sad.ovh/sophie/pianoverse/issues",
|
"bugs": "https://git.sad.ovh/sophie/pianoverse/issues",
|
||||||
"author": "Sophie",
|
"author": "Sophie",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build-proto": "protoc -I . --plugin ./node_modules/.bin/protoc-gen-es --es_out . --es_opt target=ts pianoverse.proto"
|
"build-proto": "protoc -I . --plugin ./node_modules/.bin/protoc-gen-es --es_out . --es_opt target=ts pianoverse.proto",
|
||||||
|
"build-web": "esbuild pianoverse_pb.ts --bundle --outfile=pb.js --format=iife --global-name=pianoverse --minify"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/bun": "latest"
|
"@types/bun": "latest"
|
||||||
|
|
2
pb.js
Normal file
2
pb.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue