mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-05-23 15:02:12 -04:00
9cf1f9e1d7
* start add wasm integration * some test * some improvement * try more language * expend try with python * update * half working python * improve and extend test * get py2wasm work but not so well * convert to use in cpp * start prepare multimodule * improve a little by using cpp (but still not great) * Update wasm.cpp * try ocaml * add a working example of python with a not complete function * remove type to be even more curse * start add a proper mod loader * allow mod to communicate between * example of hook --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
23 lines
501 B
JSON
23 lines
501 B
JSON
{
|
|
"targets": {
|
|
"debug": {
|
|
"outFile": "build/debug.wasm",
|
|
"textFile": "build/debug.wat",
|
|
"sourceMap": true,
|
|
"debug": true
|
|
},
|
|
"release": {
|
|
"outFile": "build/release.wasm",
|
|
"textFile": "build/release.wat",
|
|
"sourceMap": true,
|
|
"optimizeLevel": 3,
|
|
"shrinkLevel": 0,
|
|
"converge": false,
|
|
"noAssert": false
|
|
}
|
|
},
|
|
"options": {
|
|
"bindings": "esm"
|
|
},
|
|
"extends": "./node_modules/@assemblyscript/wasi-shim/asconfig.json"
|
|
} |