Каркас web-приложения: Vite, Tailwind, ESLint, раздача статики через Caddy, страница со статусом и версией проекта.
20 lines
522 B
JavaScript
20 lines
522 B
JavaScript
import { dirname, join } from 'path';
|
|
import { fileURLToPath } from 'url';
|
|
|
|
import { createGlobPatternsForDependencies } from '@nx/react/tailwind';
|
|
|
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: [
|
|
join(__dirname, './src/**/*!(*.stories|*.spec).{ts,tsx,html}'),
|
|
join(__dirname, './index.html'),
|
|
...createGlobPatternsForDependencies(__dirname),
|
|
],
|
|
theme: {
|
|
extend: {},
|
|
},
|
|
plugins: [],
|
|
};
|