go get -u github.com/jcbhmr/go-cjs-module-lexer
If you prefer not to use WebAssembly you can use the cjsmodulelexer.nowasm
build tag. This will use the pure Go implementation of the lexer.
go build -tags cjsmodulelexer.nowasm ./cmd/my-app
go get -u github.com/jcbhmr/go-cjs-module-lexer
If you prefer not to use WebAssembly you can use the cjsmodulelexer.nowasm
build tag. This will use the pure Go implementation of the lexer.
go build -tags cjsmodulelexer.nowasm ./cmd/my-app