tailwind.config.js
Make sure that you have a tailwind.config.js file for each UI package in your project to enable developer experience.
import { hasTextFile } from 'commonality-checks-recommended'; export default hasTextFile('tailwind.config.js', [ "import baseConfig from '@myteam/config-tailwind';", '', 'export default {', ' ...baseConfig,', " content: ['./src/**/*.{js,ts,jsx,tsx}']", '};', ]);
{ "checks": [ "ui": [ "has-tailwind-config" ] ] }
Was this page helpful?