🔵 other: Formatting updates
All checks were successful
Sync TODOs with Issues / sync_todos (push) Successful in 6s
All checks were successful
Sync TODOs with Issues / sync_todos (push) Successful in 6s
This commit is contained in:
@@ -8,17 +8,17 @@ const start = performance.now();
|
||||
|
||||
// Tailwind to CSS
|
||||
try {
|
||||
// Ensure the output directory exists
|
||||
if (!fs.existsSync(distDir)) {
|
||||
fs.mkdirSync(distDir, { recursive: true });
|
||||
}
|
||||
// Ensure the output directory exists
|
||||
if (!fs.existsSync(distDir)) {
|
||||
fs.mkdirSync(distDir, { recursive: true });
|
||||
}
|
||||
|
||||
// Compile Tailwind
|
||||
tailwindToCSS();
|
||||
// Compile Tailwind
|
||||
tailwindToCSS();
|
||||
|
||||
const end = performance.now();
|
||||
const runtime = (end - start).toFixed(3);
|
||||
console.log(`Production build successfully run in ${runtime}ms`);
|
||||
const end = performance.now();
|
||||
const runtime = (end - start).toFixed(3);
|
||||
console.log(`Production build successfully run in ${runtime}ms`);
|
||||
} catch (error) {
|
||||
console.error("Error processing CSS files:", error);
|
||||
console.error("Error processing CSS files:", error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user