If you don't put it in a folder, then entire folder tree is compiled into your script.

That doesn't seem true based on the introduction. Where are you seeing that info?

In the end the post links to spec.

>By default, file-based apps use the Microsoft.NET.Sdk SDK.

This behavior is default provided by sdk to keep project files small.