All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 32s
19 lines
693 B
JavaScript
19 lines
693 B
JavaScript
// 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.
|
|
},
|
|
}; |