@@ -54,90 +54,116 @@ function testFixture(fixture: string, details: any[]) {
54
54
} )
55
55
}
56
56
57
- testFixture ( 'basic' , [
57
+ // testFixture('basic', [
58
+ // //
59
+ // { config: 'tailwind.config.js' },
60
+ // ])
61
+
62
+ // testFixture('dependencies', [
63
+ // //
64
+ // { config: 'tailwind.config.js' },
65
+ // ])
66
+
67
+ // testFixture('multi-config', [
68
+ // //
69
+ // { config: 'one/tailwind.config.js' },
70
+ // { config: 'two/tailwind.config.js' },
71
+ // ])
72
+
73
+ // testFixture('multi-config-content', [
74
+ // //
75
+ // { config: 'tailwind.config.one.js' },
76
+ // { config: 'tailwind.config.two.js' },
77
+ // ])
78
+
79
+ // testFixture('v3/esm-config', [
80
+ // //
81
+ // { config: 'tailwind.config.mjs' },
82
+ // ])
83
+
84
+ // testFixture('v3/ts-config', [
85
+ // //
86
+ // { config: 'tailwind.config.ts' },
87
+ // ])
88
+
89
+ // testFixture('v4/basic', [
90
+ // //
91
+ // { config: 'app.css' },
92
+ // ])
93
+
94
+ // testFixture('v4/multi-config', [
95
+ // //
96
+ // { config: 'admin/app.css' },
97
+ // { config: 'web/app.css' },
98
+ // ])
99
+
100
+ // testFixture('v4/workspaces', [
101
+ // {
102
+ // config: 'packages/admin/app.css',
103
+ // selectors: [
104
+ // '{URL}/node_modules/tailwindcss/**',
105
+ // '{URL}/node_modules/tailwindcss/index.css',
106
+ // '{URL}/node_modules/tailwindcss/theme.css',
107
+ // '{URL}/node_modules/tailwindcss/utilities.css',
108
+ // '{URL}/packages/admin/**',
109
+ // '{URL}/packages/admin/app.css',
110
+ // '{URL}/packages/admin/package.json',
111
+ // ],
112
+ // },
113
+ // {
114
+ // config: 'packages/web/app.css',
115
+ // selectors: [
116
+ // '{URL}/node_modules/tailwindcss/**',
117
+ // '{URL}/node_modules/tailwindcss/index.css',
118
+ // '{URL}/node_modules/tailwindcss/theme.css',
119
+ // '{URL}/node_modules/tailwindcss/utilities.css',
120
+ // '{URL}/packages/style-export/**',
121
+ // '{URL}/packages/style-export/lib.css',
122
+ // '{URL}/packages/style-export/theme.css',
123
+ // '{URL}/packages/style-main-field/**',
124
+ // '{URL}/packages/style-main-field/lib.css',
125
+ // '{URL}/packages/web/**',
126
+ // '{URL}/packages/web/app.css',
127
+ // '{URL}/packages/web/package.json',
128
+ // ],
129
+ // },
130
+ // ])
131
+
132
+ // testFixture('v4/auto-content', [
133
+ // //
134
+ // {
135
+ // config: 'src/app.css',
136
+ // content: [
137
+ // '{URL}/package.json',
138
+ // '{URL}/src/index.html',
139
+ // '{URL}/src/components/example.html',
140
+ // '{URL}/src/**/*.{py,tpl,js,vue,php,mjs,cts,jsx,tsx,rhtml,slim,handlebars,twig,rs,njk,svelte,liquid,pug,md,ts,heex,mts,astro,nunjucks,rb,eex,haml,cjs,html,hbs,jade,aspx,razor,erb,mustache,mdx}',
141
+ // ],
142
+ // },
143
+ // ])
144
+
145
+ testFixture ( 'v4/custom-content' , [
58
146
//
59
- { config : 'tailwind.config.js' } ,
60
- ] )
61
-
62
- testFixture ( 'dependencies' , [
63
- //
64
- { config : 'tailwind.config.js' } ,
65
- ] )
66
-
67
- testFixture ( 'multi-config' , [
68
- //
69
- { config : 'one/tailwind.config.js' } ,
70
- { config : 'two/tailwind.config.js' } ,
71
- ] )
72
-
73
- testFixture ( 'multi-config-content' , [
74
- //
75
- { config : 'tailwind.config.one.js' } ,
76
- { config : 'tailwind.config.two.js' } ,
77
- ] )
78
-
79
- testFixture ( 'v3/esm-config' , [
80
- //
81
- { config : 'tailwind.config.mjs' } ,
82
- ] )
83
-
84
- testFixture ( 'v3/ts-config' , [
85
- //
86
- { config : 'tailwind.config.ts' } ,
87
- ] )
88
-
89
- testFixture ( 'v4/basic' , [
90
- //
91
- { config : 'app.css' } ,
92
- ] )
93
-
94
- testFixture ( 'v4/multi-config' , [
95
- //
96
- { config : 'admin/app.css' } ,
97
- { config : 'web/app.css' } ,
98
- ] )
99
-
100
- testFixture ( 'v4/workspaces' , [
101
147
{
102
- config : 'packages/admin/app.css' ,
103
- selectors : [
104
- '{URL}/node_modules/tailwindcss/**' ,
105
- '{URL}/node_modules/tailwindcss/index.css' ,
106
- '{URL}/node_modules/tailwindcss/theme.css' ,
107
- '{URL}/node_modules/tailwindcss/utilities.css' ,
108
- '{URL}/packages/admin/**' ,
109
- '{URL}/packages/admin/app.css' ,
110
- '{URL}/packages/admin/package.json' ,
111
- ] ,
112
- } ,
113
- {
114
- config : 'packages/web/app.css' ,
115
- selectors : [
116
- '{URL}/node_modules/tailwindcss/**' ,
117
- '{URL}/node_modules/tailwindcss/index.css' ,
118
- '{URL}/node_modules/tailwindcss/theme.css' ,
119
- '{URL}/node_modules/tailwindcss/utilities.css' ,
120
- '{URL}/packages/style-export/**' ,
121
- '{URL}/packages/style-export/lib.css' ,
122
- '{URL}/packages/style-export/theme.css' ,
123
- '{URL}/packages/style-main-field/**' ,
124
- '{URL}/packages/style-main-field/lib.css' ,
125
- '{URL}/packages/web/**' ,
126
- '{URL}/packages/web/app.css' ,
127
- '{URL}/packages/web/package.json' ,
148
+ config : 'admin/app.css' ,
149
+ content : [
150
+ '{URL}/admin/**/*.{py,tpl,js,vue,php,mjs,cts,jsx,tsx,rhtml,slim,handlebars,twig,rs,njk,svelte,liquid,pug,md,ts,heex,mts,astro,nunjucks,rb,eex,haml,cjs,html,hbs,jade,aspx,razor,erb,mustache,mdx}' ,
151
+ '{URL}/admin/**/*.bin' ,
152
+ '{URL}/admin/foo.bin' ,
153
+ '{URL}/package.json' ,
154
+ '{URL}/shared.html' ,
155
+ '{URL}/web/**/*.{py,tpl,js,vue,php,mjs,cts,jsx,tsx,rhtml,slim,handlebars,twig,rs,njk,svelte,liquid,pug,md,ts,heex,mts,astro,nunjucks,rb,eex,haml,cjs,html,hbs,jade,aspx,razor,erb,mustache,mdx}' ,
128
156
] ,
129
157
} ,
130
- ] )
131
-
132
- testFixture ( 'v4/auto-content' , [
133
- //
134
158
{
135
- config : 'src /app.css' ,
159
+ config : 'web /app.css' ,
136
160
content : [
161
+ '{URL}/web/**/*.{py,tpl,js,vue,php,mjs,cts,jsx,tsx,rhtml,slim,handlebars,twig,rs,njk,svelte,liquid,pug,md,ts,heex,mts,astro,nunjucks,rb,eex,haml,cjs,html,hbs,jade,aspx,razor,erb,mustache,mdx}' ,
162
+ '{URL}/web/*.bin' ,
163
+ '{URL}/web/bar.bin' ,
137
164
'{URL}/package.json' ,
138
- '{URL}/src/index.html' ,
139
- '{URL}/src/components/example.html' ,
140
- '{URL}/src/**/*.{py,tpl,js,vue,php,mjs,cts,jsx,tsx,rhtml,slim,handlebars,twig,rs,njk,svelte,liquid,pug,md,ts,heex,mts,astro,nunjucks,rb,eex,haml,cjs,html,hbs,jade,aspx,razor,erb,mustache,mdx}' ,
165
+ '{URL}/shared.html' ,
166
+ '{URL}/admin/**/*.{py,tpl,js,vue,php,mjs,cts,jsx,tsx,rhtml,slim,handlebars,twig,rs,njk,svelte,liquid,pug,md,ts,heex,mts,astro,nunjucks,rb,eex,haml,cjs,html,hbs,jade,aspx,razor,erb,mustache,mdx}' ,
141
167
] ,
142
168
} ,
143
169
] )
0 commit comments