Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/@tailwindcss-postcss/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down