Leaked Tokens in VSCode Extensions
waritschlager.de
waritschlager.de
Why does it do this? Is it trying to include code or some other assets?
Is this normal outside of C/C++ (or similar) build systems? Tools like cmake, premake, scons, etc. tend to expect you to tell the tool what to do. e.g. which files you want to compile.
As to why - since extensions can do anything they want including running bundled binaries, there is no way for the IDE to know which files may or may not be relevant. That doesn't justify going an include-by-default strategy though, an allow-list would be much better.
Is this normal in JS ecosystem? Not really I'd say. NPM packages for example have a "files" property where you specify what to include, and I feel like the general trend is towards a saner approach of modules and imports anyway.
To be honest, I can't see why you would ever want an include by default approach to package building not explicit inclusion.