@@ -54,93 +54,93 @@ function testFixture(fixture: string, details: any[]) {
54
54
} )
55
55
}
56
56
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
- // ])
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
144
145
145
testFixture ( 'v4/custom-content' , [
146
146
//
@@ -158,12 +158,12 @@ testFixture('v4/custom-content', [
158
158
{
159
159
config : 'web/app.css' ,
160
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}' ,
161
+ '{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}' ,
162
162
'{URL}/web/*.bin' ,
163
163
'{URL}/web/bar.bin' ,
164
164
'{URL}/package.json' ,
165
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}' ,
166
+ '{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}' ,
167
167
] ,
168
168
} ,
169
169
] )
0 commit comments