3 ms·
> Yeah, and then what happens if you want to use modern syntax like esmodule [...] You are going to have to use npm. Why? Node's had built-in support for ES Mo
by madeofpalk 3y ago
> Yeah, and then what happens if you want to use modern syntax like esmodule [...] You are going to have to use npm.
Why? Node's had built-in support for ES Modules for eons now.
Everything's easy when you stick to default tooling, duh, like `node run.js` or `go run.go`. You'll loose that `go run.go` the moment you need code generation.
- floating-io 3y ago> You'll loose that `go run.go` the moment you need code generation. Not really. //go:generate ... It's pretty handy.