You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-b, --binaryFile Specifies the binary format output file.
78
-
-t, --textFile Specifies the text format output file.
79
-
-a, --asmjsFile Specifies the asm.js format output file.
80
-
--noTreeShaking Disables tree-shaking.
81
-
--noDebug Disables assertions.
72
+
-v, --version Prints the compiler's version.
73
+
-h, --help Prints this message.
74
+
-O, --optimize Optimizes the module.
75
+
-c, --validate Validates the module.
76
+
-o, --outFile Specifies the output file. Format is determined by file extension.
77
+
-b, --binaryFile Specifies the binary format output file (.wasm).
78
+
-t, --textFile Specifies the text format output file (.wast).
79
+
-a, --asmjsFile Specifies the asm.js format output file (.js).
80
+
--noTreeShaking Disables tree-shaking.
81
+
--noDebug Disables assertions.
82
+
--trapMode Sets the trap mode to use.
83
+
none Do not modify trapping operations. This is the default.
84
+
clamp Replace trapping operations with clamping semantics.
85
+
js Replace trapping operations with JS semantics.
82
86
```
83
87
84
88
Unless a bundle has been built to `dist/`, `asc` runs the TypeScript sources directly via [ts-node](https://www.npmjs.com/package/ts-node). Useful for development.
0 commit comments