@rebuildjs/tailwindcss 0.9.19 → 0.9.21

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.9.19",
3
+ "version": "0.9.21",
4
4
  "description": "Tailwindcss integration with rebuildjs",
5
5
  "keywords": [
6
6
  "tailwindcss",
@@ -39,17 +39,17 @@
39
39
  "./package.json": "./package.json"
40
40
  },
41
41
  "dependencies": {
42
- "ctx-core": "^7.0.2",
42
+ "ctx-core": "^7.1.0",
43
43
  "esbuild": "^0.20.2",
44
44
  "postcss": "^8.4.38",
45
- "rebuildjs": "^0.68.6",
45
+ "rebuildjs": "^0.69.1",
46
46
  "tailwindcss": "^3.4.3"
47
47
  },
48
48
  "devDependencies": {
49
49
  "c8": "^9.1.0",
50
50
  "check-dts": "^0.7.2",
51
51
  "esmock": "^2.6.4",
52
- "relementjs": "^0.78.4",
52
+ "relementjs": "^0.79.0",
53
53
  "tsx": "^4.7.1",
54
54
  "typescript": "next",
55
55
  "uvu": "^0.5.6"
@@ -1,14 +1,14 @@
1
1
  import { file_exists_, file_exists__waitfor } from 'ctx-core/fs'
2
2
  import {
3
- be,
4
- be_memo_pair_,
3
+ calling,
5
4
  Cancel,
6
- memo_, ns_id_be_memo_pair_,
5
+ memo_,
6
+ ns_id_be,
7
+ ns_id_be_memo_pair_,
7
8
  ns_id_be_sig_triple_,
8
9
  nullish__none_,
9
10
  promise__cancel__throw,
10
11
  rmemo__wait,
11
- run,
12
12
  sleep,
13
13
  tup
14
14
  } from 'ctx-core/rmemo'
@@ -82,11 +82,12 @@ export function rebuild_tailwind_plugin_(config) {
82
82
  setup.tailwind__build$ = tailwind__build$_()
83
83
  return setup
84
84
  function tailwind__build$_() {
85
- return be(app_ctx, app_ctx=>{
86
- return run(memo_(tailwind__build$=>{
87
- r()
88
- return tailwind__build$
89
- function r() {
85
+ return ns_id_be(
86
+ app_ctx,
87
+ 'app',
88
+ 'tailwind__build$',
89
+ app_ctx=>{
90
+ return calling(memo_(()=>{
90
91
  if (!rebuildjs__esbuild__done_(app_ctx)) return
91
92
  nullish__none_(tup(
92
93
  build_id_(app_ctx),
@@ -240,9 +241,8 @@ export function rebuild_tailwind_plugin_(config) {
240
241
  )
241
242
  }
242
243
  })
243
- }
244
- }))
245
- }, { id: 'tailwind__build$', ns: 'app' })
244
+ }))
245
+ })
246
246
  }
247
247
  }
248
248
  }