// postcss.config.js

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: {
    '@tailwindcss/postcss': {}, // The empty object is correct.
  },
};