move to using /src - still css issue work
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 30s

This commit is contained in:
2025-11-12 16:01:52 -08:00
parent 7e20aefc5e
commit 6a9a57669e
3 changed files with 164 additions and 30 deletions

View File

@@ -1,7 +1,33 @@
import { sync } from 'glob';
console.log('--- [TAILWIND CONFIG DEBUG] ---');
// 1. Log the Current Working Directory of this process
const cwd = process.cwd();
console.log(`[TAILWIND] Current Working Directory: ${cwd}`);
// 2. Define the glob patterns we want to test
const contentPatterns = [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}'
];
console.log(`[TAILWIND] Defined content patterns:`, contentPatterns);
// 3. Manually execute the glob search and log the results
try {
const foundFiles = sync(contentPatterns, { cwd: cwd, absolute: true });
console.log(`[TAILWIND] Glob sync found ${foundFiles.length} files:`);
// Log only the first few files to avoid flooding the log
console.log(foundFiles.slice(0, 10));
} catch (e) {
console.error('[TAILWIND] Glob sync failed!', e);
}
console.log('--- [TAILWIND CONFIG DEBUG END] ---');
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
};
const config = {
content: contentPatterns,
};
export default config;