@rebuildjs/tailwindcss 0.6.1 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebuildjs/tailwindcss",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"description": "Tailwindcss integration with rebuildjs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tailwindcss",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
"./package.json": "./package.json"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"ctx-core": "^5.
|
|
38
|
+
"ctx-core": "^5.38.0",
|
|
39
39
|
"esbuild": "^0.20.0",
|
|
40
40
|
"postcss": "^8.4.33",
|
|
41
|
-
"rebuildjs": "^0.
|
|
41
|
+
"rebuildjs": "^0.55.0",
|
|
42
42
|
"tailwindcss": "^3.4.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"c8": "^9.1.0",
|
|
46
46
|
"check-dts": "^0.7.2",
|
|
47
47
|
"esmock": "^2.6.3",
|
|
48
|
-
"relementjs": "^0.
|
|
48
|
+
"relementjs": "^0.64.0",
|
|
49
49
|
"tsx": "^4.7.0",
|
|
50
50
|
"typescript": "next",
|
|
51
51
|
"uvu": "^0.5.6"
|
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
browser__metafile__update,
|
|
22
22
|
browser__output_,
|
|
23
23
|
browser__output__relative_path_,
|
|
24
|
+
browser__relative_path_,
|
|
24
25
|
build_id_,
|
|
25
26
|
cssBundle__annotate,
|
|
26
27
|
cwd_,
|
|
@@ -88,6 +89,7 @@ export function rebuild_tailwind_plugin_(config) {
|
|
|
88
89
|
rebuildjs__build_id,
|
|
89
90
|
server__output__relative_path_M_middleware_ctx,
|
|
90
91
|
)=>{
|
|
92
|
+
let promise_a1 = []
|
|
91
93
|
try {
|
|
92
94
|
let server__metafile_updated
|
|
93
95
|
let browser_metafile_updated
|
|
@@ -107,6 +109,7 @@ export function rebuild_tailwind_plugin_(config) {
|
|
|
107
109
|
if (browser_metafile_updated) {
|
|
108
110
|
await cmd(browser__metafile__update(browser__metafile_(app_ctx)))
|
|
109
111
|
}
|
|
112
|
+
await Promise.all(promise_a1)
|
|
110
113
|
if (!server__metafile_updated && !browser_metafile_updated) {
|
|
111
114
|
rebuild_tailwind_plugin__build_id__set(app_ctx, build_id)
|
|
112
115
|
}
|
|
@@ -181,6 +184,9 @@ export function rebuild_tailwind_plugin_(config) {
|
|
|
181
184
|
readFile(annotated_cssBundle_path)
|
|
182
185
|
.then(buf=>'' + buf === result.css),
|
|
183
186
|
5_000))
|
|
187
|
+
promise_a1.push(file_exists__waitfor(
|
|
188
|
+
join(cwd_(app_ctx), browser__relative_path_(app_ctx), basename(annotated_cssBundle_path))
|
|
189
|
+
))
|
|
184
190
|
return metafile_updated
|
|
185
191
|
}
|
|
186
192
|
async function cmd(promise) {
|