All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 33s
17 lines
600 B
JavaScript
17 lines
600 B
JavaScript
import path from 'node:path';
|
|
import { fileURLToPath } from 'node:url';
|
|
|
|
// Boilerplate to get the equivalent of __dirname in an ES module
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
const __dirname = path.dirname(__filename);
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: [
|
|
// Resolve paths absolutely from the config file's location
|
|
path.resolve(__dirname, './index.html'),
|
|
path.resolve(__dirname, './App.tsx'),
|
|
path.resolve(__dirname, './index.tsx'),
|
|
path.resolve(__dirname, './{components,pages,services,utils}/**/*.{js,ts,jsx,tsx}'),
|
|
],
|
|
}; |