When update from Kotlin 2.4.0 to 2.4.20-Beta1 got ...
# webassembly
p
When update from Kotlin 2.4.0 to 2.4.20-Beta1 got runtime exception for WasmJs target
Copy code
Uncaught (in promise) SyntaxError: import.meta may only appear in a module
Js target is OK What can be the problem? Using
kotlin.js.ir.output.granularity=whole-program
e
Hi! Seems like this KT-87116 K/Wasm: SyntaxError: Cannot use 'import.meta' outside a module
thank you color 1