temporarily disable prettier in prod to speed things up

This commit is contained in:
Cory LaViska
2024-12-03 11:52:23 -05:00
parent ca20f4de22
commit 2719880636

View File

@@ -128,10 +128,13 @@ export default function (eleventyConfig) {
);
// Production-only plugins
if (!isDeveloping) {
// Run Prettier on each file (prod only because it can be slow)
eleventyConfig.addPlugin(formatCodePlugin());
}
//
// TODO - disabled because it takes about a minute to run now
//
// if (!isDeveloping) {
// // Run Prettier on each file (prod only because it can be slow)
// eleventyConfig.addPlugin(formatCodePlugin());
// }
return {
dir: {