@rebuildjs/tailwindcss 0.8.60 → 0.8.62

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.8.60",
3
+ "version": "0.8.62",
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": "^6.5.5",
38
+ "ctx-core": "^6.5.6",
39
39
  "esbuild": "^0.20.1",
40
40
  "postcss": "^8.4.35",
41
- "rebuildjs": "^0.65.3",
41
+ "rebuildjs": "^0.65.4",
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.4",
48
- "relementjs": "^0.74.5",
48
+ "relementjs": "^0.74.6",
49
49
  "tsx": "^4.7.1",
50
50
  "typescript": "next",
51
51
  "uvu": "^0.5.6"
@@ -80,7 +80,6 @@ export function rebuild_tailwind_plugin_(config) {
80
80
  return setup
81
81
  function tailwind__build$_() {
82
82
  return be(app_ctx, app_ctx=>{
83
- let update_promise
84
83
  return run(memo_(tailwind__build$=>{
85
84
  r()
86
85
  return tailwind__build$
@@ -98,7 +97,6 @@ export function rebuild_tailwind_plugin_(config) {
98
97
  try {
99
98
  let server__metafile_updated
100
99
  let browser__metafile_updated
101
- await update_promise
102
100
  await cmd(rebuildjs__esbuild__done__wait())
103
101
  const _server__metafile = server__metafile_(app_ctx)
104
102
  const _browser__metafile = browser__metafile_(app_ctx)
@@ -120,10 +118,9 @@ export function rebuild_tailwind_plugin_(config) {
120
118
  update_promise_a1.push(browser__metafile__update(_browser__metafile))
121
119
  }
122
120
  if (update_promise_a1.length) {
123
- update_promise = Promise.all(update_promise_a1)
124
- } else {
125
- rebuild_tailwind_plugin__build_id__set(app_ctx, build_id)
121
+ await cmd(Promise.all(update_promise_a1))
126
122
  }
123
+ rebuild_tailwind_plugin__build_id__set(app_ctx, build_id)
127
124
  } catch (err) {
128
125
  if (err instanceof Cancel) return
129
126
  throw err