Skip to content

Commit

Permalink
add asconfig to example
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Aug 20, 2024
1 parent b51ff09 commit 0fcd501
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions examples/chat/asconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"entries": ["./src/objects/chat.ts"],
"targets": {
"debug": {
"outFile": "dist/asc/debug.wasm",
"textFile": "dist/asc/debug.wat",
"sourceMap": true,
"debug": true
},
"release": {
"outFile": "dist/asc/release.wasm",
"textFile": "dist/asc/release.wat",
"sourceMap": false,
"optimizeLevel": 3,
"shrinkLevel": 0,
"converge": false,
"noAssert": false
}
},
"options": {
"lib": {
"@topology-foundation/crdt": ["../node_modules/@topology-foundation/crdt/src/index.asc.ts"]
}
}
}

0 comments on commit 0fcd501

Please sign in to comment.