Skip to content

Commit 045ecfd

Browse files
committed
fix: rename libuiInclude
1 parent c8c7e71 commit 045ecfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tailwind/config.cts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ const isDev = fs.existsSync(path.resolve(packageRoot, 'src'));
1616
type ConfigOptions = {
1717
content?: string[];
1818
include?: string[];
19+
includeOwnContent?: boolean;
1920
plugins?: PluginsConfig;
2021
root?: string;
21-
libuiInclude?: boolean;
2222
extend?: {
2323
theme?: Partial<CustomThemeConfig>;
2424
};
@@ -27,12 +27,12 @@ type ConfigOptions = {
2727
const config = ({
2828
content = [],
2929
include = [],
30+
includeOwnContent = true,
3031
root = undefined,
31-
libuiInclude = true,
3232
plugins = [],
3333
extend = {}
3434
}: ConfigOptions = {}): Config => {
35-
if (libuiInclude) {
35+
if (includeOwnContent) {
3636
if (isDev) {
3737
content.push(path.resolve(packageRoot, 'src/**/*.{js,jsx,ts,tsx}'));
3838
} else {

0 commit comments

Comments
 (0)