Files
flyer-crawler.projectium.com/postcss.config.js
Torben Sorensen 72a20e23bf
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 35s
move to using /src - still css issue work
2025-11-12 17:15:38 -08:00

22 lines
869 B
JavaScript

// postcss.config.js
import tailwindcssPostcss from '@tailwindcss/postcss';
import tailwindConfig from './tailwind.config.js'; // Import the config object itself
import path from 'path';
console.log('--- [EXECUTION PROOF] postcss.config.js is being loaded. ---');
// Create an absolute path to the Tailwind config
const tailwindConfigPath = path.resolve(process.cwd(), 'tailwind.config.js');
console.log(`[POSTCSS] Attempting to use Tailwind config at: ${tailwindConfigPath}`);
// Log to prove the imported config object is what we expect
console.log('[POSTCSS] Imported tailwind.config.js object:', JSON.stringify(tailwindConfig, null, 2));
export default {
plugins: [
// Initialize the plugin and pass the imported config object directly.
// This completely bypasses all file-based loading by the plugin.
tailwindcssPostcss(tailwindConfig),
],
};