|
|
|
|
|
by aleph_minus_one
212 days ago
|
|
> Would it still count as a transpiler if it minifies the code at the end? I would say "yes, but the minimization is an additional step that is not actually a direct part of the transpiling process." :-) So, a program that does this would not a transpiler by itself, but a program that - executes a pipeline of which the transpiling is the most important step, - can also be used as a transpiler by making transpiling the only step in the executed pipeline. |
|
And furthermore, what if you run Prettier on the minified output, turning it into readable CSS? The pipeline as a whole would input SCSS and output formatted CSS and therefore would be considered a transpiler, but the subprogram that does all of the SCSS heavy lifting would input SCSS and output minified SCSS, making it not a transpiler.
P.S. I love your username