diff --git a/packages/@tailwindcss-postcss/README.md b/packages/@tailwindcss-postcss/README.md index 3facf28875f1..d592033317da 100644 --- a/packages/@tailwindcss-postcss/README.md +++ b/packages/@tailwindcss-postcss/README.md @@ -44,8 +44,12 @@ If you're interested in contributing to Tailwind CSS, please read our [contribut You can use the `base` option (defaults to the current working directory) to change the directory in which the plugin searches for source files: ```js +import { fileURLToPath } from 'node:url' +import path from 'node:path' import tailwindcss from '@tailwindcss/postcss' +const __dirname = path.dirname(fileURLToPath(import.meta.url)) + export default { plugins: [ tailwindcss({