squeeze preview format into available space

This commit is contained in:
Matt Walsh
2026-04-08 23:36:33 -05:00
parent d4f648f244
commit 42f1f66117

View File

@@ -113,7 +113,7 @@ let { version } = JSON.parse(packageJson);
const previewVersion = async () => {
// generate a unique timestamp for cache invalidation of the preview site
const now = DateTime.utc();
version = now.toFormat('yyyyLLddHHmmss')
version = now.toFormat('yyyyLLddHHmm').substring(3);
};
const compressHtml = async () => src(htmlSources)