DEV Community

Discussion on: How I accidentally wrote an awesome HTML Preprocessor

Collapse
 
elonmusk profile image
Mt

I think for that you have the .pug files they does the same. Do we need HTML pre-compilers

Collapse
 
nektro profile image
Meghan (she/her) • Edited

We don't need preprocessors, especially because my files can't be natively interpreted by a browser, so using this does add a step to your development process depending on how all-in you use a pre-processor. Mileage may vary.

While I was using Pug for another project of mine, this project has been on my backburner for a while and decided to write this post because I got it to the point where I had finally made something potentially useful. On the other hand, as I mentioned, I was using Pug for another project of mine but the other day just converted all those pages to use Corgi instead for the advantages I mentioned above as well as the added bonus I have the satisfaction that the code I publish for my next project is that little bit more mine.