Skip to content

Instantly share code, notes, and snippets.

@MarkJGx
Created May 14, 2021 20:39
Show Gist options
  • Save MarkJGx/f0e8f0aa12aef48f1dfb74a8dce34472 to your computer and use it in GitHub Desktop.
Save MarkJGx/f0e8f0aa12aef48f1dfb74a8dce34472 to your computer and use it in GitHub Desktop.
asconfig.json
{
"targets": {
"debug": {
"binaryFile": "build/untouched.wasm",
"textFile": "build/untouched.wat",
"sourceMap": true,
"debug": true,
"exportRuntime": true
},
"release": {
"binaryFile": "build/optimized.wasm",
"textFile": "build/optimized.wat",
"sourceMap": true,
"optimizeLevel": 3,
"shrinkLevel": 1,
"converge": false,
"noAssert": false,
"exportRuntime": true
}
},
"options": {
"enable": [ "bulk-memory", "reference-types", "gc" ]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment