goland build constraints exclude all go files in syscall/js
go to Settings (Preferences) | Go | Vendoring & Build Tags and then select OS -> js and ARCH -> wasm.
go to Settings (Preferences) | Go | Vendoring & Build Tags and then select OS -> js and ARCH -> wasm.