3 ms·
I agree that it's not explained clearly. One possible reason: import statements in source code can be analyzed regardless of which build system you're using. I
by skybrian 8y ago
I agree that it's not explained clearly.
One possible reason: import statements in source code can be analyzed regardless of which build system you're using. In the case of Go, there are at least two important build systems ("go build" and bazel), so analysis tools would need to support both.
On the other hand, if a package.json file were just as universally used as Go source code, it would effectively be part of the language.