Forgive me if I can fix this easily in my code, but since a fairly recent emscripten version, I have problems exporting a wasm module which needs to be in the AudioWorkletGlobalScope. It seems like it is a valid js indentifier, e.g. AudioWorkletGlobalScope.WAM.MyWebAudioModule, but the emcc python script doesn't allow it. If I comment out this check it builds and works fine.
|
if not js_manipulation.isidentifier(settings.EXPORT_NAME): |
What would be the best solution?