2 ms·
> TypeScript needs to be compiled, right? Yes. > So what use is a configuration file if I need to run it through the build pipeline? Compilation doesn't nece
by dragonwriter 5y ago
> TypeScript needs to be compiled, right?
Yes.
> So what use is a configuration file if I need to run it through the build pipeline?
Compilation doesn't necessarily happen in a “build pipeline”; typescript is available as a library.
> The point of having configuration is to gain the ability to configure software without rebuilding in my mind.
There are many different purposes of configuration, and they are sometimes in tension, which is why there are so many configuration formats (spanning from limited languages like TOML through general purpose programming languages, whether interpreted or compiled) with an ebb and flow as to which approaches are more and less popular over time.