( inputFile: string, options?: Wasm2cGenerateOptions )
| 83 | } |
| 84 | |
| 85 | function getModuleNameFor( |
| 86 | inputFile: string, |
| 87 | options?: Wasm2cGenerateOptions |
| 88 | ): string { |
| 89 | const defaultModuleName = path.basename(inputFile, '.wasm'); |
| 90 | return options?.moduleName ?? defaultModuleName; |
| 91 | } |
| 92 | |
| 93 | /** |
| 94 | * Returns the output files for a given configuration. |
no outgoing calls
no test coverage detected