Skip to content

Commit 2b7c1ab

Browse files
committed
Update comments for plugin options
1 parent 0113756 commit 2b7c1ab

File tree

1 file changed

+13
-4
lines changed
  • packages/@tailwindcss-postcss/src

1 file changed

+13
-4
lines changed

packages/@tailwindcss-postcss/src/index.ts

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,23 @@ function getContextFromCache(inputFile: string, opts: PluginOptions): CacheEntry
4848
}
4949

5050
export type PluginOptions = {
51-
// The base directory to scan for class candidates.
51+
/**
52+
* The base directory to scan for class candidates.
53+
*
54+
* Defaults to the current working directory.
55+
*/
5256
base?: string
5357

54-
// Optimize and minify the output CSS.
58+
/**
59+
* Optimize and minify the output CSS.
60+
*/
5561
optimize?: boolean | { minify?: boolean }
5662

57-
// Whether or not we should rewrite any encountered urls
58-
// default: true
63+
/**
64+
* Enable or disable asset URL rewriting.
65+
*
66+
* Defaults to `true`.
67+
*/
5968
rewriteUrls?: boolean
6069
}
6170

0 commit comments

Comments
 (0)