Configure Go Build Constraints in VS Code to work with WebAssembly

Xiaoru Li
InstructorXiaoru Li

Share this video with your friends

Send Tweet

Go ^1.12

When using Go modules related to WebAssembly, namely syscall/js, the default settings in VS Code will trigger error reports like "Build constraints exclude all Go files" in the editor. In this lesson, we will learn how to fix this and improve our coding experience.