rebuildjs 0.27.2 → 0.29.0
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/_fixtures/metafiles.ts +26 -11
- package/browser/index.d.ts +8 -0
- package/browser/index.js +33 -3
- package/browser/index.test.ts +75 -2
- package/build/index.js +12 -11
- package/package.json +2 -2
- package/server/index.js +6 -7
package/_fixtures/metafiles.ts
CHANGED
|
@@ -18,12 +18,17 @@ export const browser__metafile0 = Object.freeze({
|
|
|
18
18
|
'imports': [],
|
|
19
19
|
'exports': [],
|
|
20
20
|
'entryPoint': 'src/app/index.browser.ts',
|
|
21
|
+
'cssBundle': 'dist/browser--dev/index.browser-BRS0BRS0.css',
|
|
21
22
|
'inputs': {
|
|
22
23
|
'../input/path0': {
|
|
23
24
|
'bytesInOutput': 98
|
|
24
25
|
},
|
|
25
26
|
},
|
|
26
|
-
'bytes': 98
|
|
27
|
+
'bytes': 98,
|
|
28
|
+
'esbuild_cssBundle': 'dist/browser--dev/index.browser-BRS0BRS0_esbuild.css',
|
|
29
|
+
'cssBundle_content': [
|
|
30
|
+
'dist/browser--dev/index.browser-BRS0BRS0.js'
|
|
31
|
+
]
|
|
27
32
|
}
|
|
28
33
|
},
|
|
29
34
|
rebuildjs_target: 'browser',
|
|
@@ -84,6 +89,7 @@ export const browser__metafile1 = Object.freeze({
|
|
|
84
89
|
'imports': [],
|
|
85
90
|
'exports': [],
|
|
86
91
|
'entryPoint': 'src/app/index.browser.ts',
|
|
92
|
+
'cssBundle': 'dist/browser--dev/index.browser-BRS1BRS1.css',
|
|
87
93
|
'inputs': {
|
|
88
94
|
'../input/path0': {
|
|
89
95
|
'bytesInOutput': 98
|
|
@@ -92,11 +98,15 @@ export const browser__metafile1 = Object.freeze({
|
|
|
92
98
|
'bytesInOutput': 50
|
|
93
99
|
},
|
|
94
100
|
},
|
|
95
|
-
'bytes': 148
|
|
101
|
+
'bytes': 148,
|
|
102
|
+
'esbuild_cssBundle': 'dist/browser--dev/index.browser-BRS1BRS1_esbuild.css',
|
|
103
|
+
'cssBundle_content': [
|
|
104
|
+
'dist/browser--dev/index.browser-BRS1BRS1.js'
|
|
105
|
+
],
|
|
96
106
|
},
|
|
97
107
|
},
|
|
98
|
-
|
|
99
|
-
|
|
108
|
+
'rebuildjs_target': 'browser',
|
|
109
|
+
'build_id': '1703809126591-ihwT4FatSz6ubDMbQLEQNA',
|
|
100
110
|
}) as rebuildjs_metafile_T
|
|
101
111
|
export const server__metafile1 = Object.freeze({
|
|
102
112
|
inputs: {
|
|
@@ -134,8 +144,8 @@ export const server__metafile1 = Object.freeze({
|
|
|
134
144
|
'bytes': 148
|
|
135
145
|
},
|
|
136
146
|
},
|
|
137
|
-
|
|
138
|
-
|
|
147
|
+
'rebuildjs_target': 'server',
|
|
148
|
+
'build_id': '1703809126591-ihwT4FatSz6ubDMbQLEQNA',
|
|
139
149
|
}) as rebuildjs_metafile_T
|
|
140
150
|
export const browser__metafile2 = Object.freeze({
|
|
141
151
|
inputs: {
|
|
@@ -166,6 +176,7 @@ export const browser__metafile2 = Object.freeze({
|
|
|
166
176
|
'imports': [],
|
|
167
177
|
'exports': [],
|
|
168
178
|
'entryPoint': 'src/app/index.browser.ts',
|
|
179
|
+
'cssBundle': 'dist/browser--dev/index.browser-BRS2BRS2.css',
|
|
169
180
|
'inputs': {
|
|
170
181
|
'../input/path0': {
|
|
171
182
|
'bytesInOutput': 98
|
|
@@ -177,11 +188,15 @@ export const browser__metafile2 = Object.freeze({
|
|
|
177
188
|
'bytesInOutput': 80
|
|
178
189
|
}
|
|
179
190
|
},
|
|
180
|
-
'bytes': 228
|
|
191
|
+
'bytes': 228,
|
|
192
|
+
'esbuild_cssBundle': 'dist/browser--dev/index.browser-BRS2BRS2_esbuild.css',
|
|
193
|
+
'cssBundle_content': [
|
|
194
|
+
'dist/browser--dev/index.browser-BRS2BRS2.js'
|
|
195
|
+
]
|
|
181
196
|
}
|
|
182
197
|
},
|
|
183
|
-
|
|
184
|
-
|
|
198
|
+
'rebuildjs_target': 'browser',
|
|
199
|
+
'build_id': '1703809154281-B6Mt0emJRWqIylzx4ZlOBQ',
|
|
185
200
|
}) as rebuildjs_metafile_T
|
|
186
201
|
export const server__metafile2 = Object.freeze({
|
|
187
202
|
inputs: {
|
|
@@ -226,6 +241,6 @@ export const server__metafile2 = Object.freeze({
|
|
|
226
241
|
'bytes': 228
|
|
227
242
|
}
|
|
228
243
|
},
|
|
229
|
-
|
|
230
|
-
|
|
244
|
+
'rebuildjs_target': 'server',
|
|
245
|
+
'build_id': '1703809154281-B6Mt0emJRWqIylzx4ZlOBQ',
|
|
231
246
|
}) as rebuildjs_metafile_T
|
package/browser/index.d.ts
CHANGED
|
@@ -9,5 +9,13 @@ export declare const browser__metafile__set:ctx__set_T<has_app_T, rebuildjs_meta
|
|
|
9
9
|
export declare function browser__metafile__persist():Promise<void>
|
|
10
10
|
export declare const browser__output__relative_path$_:ctx__be_T<has_middleware_T, memo_T<string>, 'middleware'>
|
|
11
11
|
export declare const browser__output__relative_path_:ctx__get_T<has_middleware_T, string>
|
|
12
|
+
export declare const browser__output$_:ctx__be_T<has_middleware_T, memo_T<string>, 'middleware'>
|
|
13
|
+
export declare const browser__output_:ctx__get_T<has_middleware_T, string>
|
|
14
|
+
export declare const browser__cssBundle__relative_path$_:ctx__be_T<has_middleware_T, memo_T<string>, 'middleware'>
|
|
15
|
+
export declare const browser__cssBundle__relative_path_:ctx__get_T<has_middleware_T, string>
|
|
16
|
+
export declare const browser__cssBundle$_:ctx__be_T<has_middleware_T, memo_T<string>, 'middleware'>
|
|
17
|
+
export declare const browser__cssBundle_:ctx__get_T<has_middleware_T, string>
|
|
18
|
+
export declare const browser__css$_:ctx__be_T<has_middleware_T, memo_T<string>, 'middleware'>
|
|
19
|
+
export declare const browser__css_:ctx__get_T<has_middleware_T, string>
|
|
12
20
|
export declare const browser__script$_:ctx__be_T<has_middleware_T, memo_T<string>, 'middleware'>
|
|
13
21
|
export declare const browser__script_:ctx__get_T<has_middleware_T, string>
|
package/browser/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { file_exists__waitfor } from 'ctx-core/fs'
|
|
2
|
-
import { Cancel, nullish__none_, sleep, waitfor } from 'ctx-core/function'
|
|
2
|
+
import { Cancel, nullish__none_, sleep, tup, waitfor } from 'ctx-core/function'
|
|
3
3
|
import { be_lock_memosig_triple_, be_memo_pair_ } from 'ctx-core/rmemo'
|
|
4
4
|
import { mkdir, readFile, writeFile } from 'node:fs/promises'
|
|
5
5
|
import { join, relative } from 'path'
|
|
6
|
-
import { browser__relative_path_, browser_path_ } from '../app/index.js'
|
|
6
|
+
import { browser__relative_path_, browser_path_, cwd_, server__relative_path_ } from '../app/index.js'
|
|
7
7
|
import { app_ctx } from '../ctx/index.js'
|
|
8
|
-
import { server__output_ } from '../server/index.js'
|
|
8
|
+
import { server__metafile_, server__output_, server__output__relative_path_ } from '../server/index.js'
|
|
9
9
|
export const [
|
|
10
10
|
browser__metafile_path$_,
|
|
11
11
|
browser__metafile_path_,
|
|
@@ -94,6 +94,36 @@ export const [
|
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
}), { ns: 'middleware', id: 'browser__output__relative_path' })
|
|
97
|
+
export const [
|
|
98
|
+
browser__output$_,
|
|
99
|
+
browser__output_
|
|
100
|
+
] = be_memo_pair_(ctx=>
|
|
101
|
+
nullish__none_(tup(browser__metafile_(ctx), browser__output__relative_path_(ctx)),
|
|
102
|
+
(browser__metafile, browser__output__relative_path)=>
|
|
103
|
+
browser__metafile.outputs[browser__output__relative_path]),
|
|
104
|
+
{ ns: 'middleware', id: 'browser__output' })
|
|
105
|
+
export const [
|
|
106
|
+
browser__cssBundle__relative_path$_,
|
|
107
|
+
browser__cssBundle__relative_path_
|
|
108
|
+
] = be_memo_pair_(ctx=>
|
|
109
|
+
browser__output_(ctx)?.cssBundle,
|
|
110
|
+
{ ns: 'middleware', id: 'browser__cssBundle__relative_path', })
|
|
111
|
+
export const [
|
|
112
|
+
browser__cssBundle$_,
|
|
113
|
+
browser__cssBundle_
|
|
114
|
+
] = be_memo_pair_(ctx=>
|
|
115
|
+
nullish__none_([browser__output_(ctx)?.cssBundle],
|
|
116
|
+
cssBundle=>
|
|
117
|
+
join(cwd_(ctx), cssBundle)),
|
|
118
|
+
{ ns: 'middleware', id: 'browser__cssBundle', })
|
|
119
|
+
export const [
|
|
120
|
+
browser__css$_,
|
|
121
|
+
browser__css_
|
|
122
|
+
] = be_memo_pair_(ctx=>
|
|
123
|
+
nullish__none_([browser__relative_path_(ctx), browser__cssBundle__relative_path_(ctx)],
|
|
124
|
+
(browser__relative_path, browser__cssBundle__relative_path)=>
|
|
125
|
+
join('/', relative(browser__relative_path, browser__cssBundle__relative_path))),
|
|
126
|
+
{ ns: 'middleware', id: 'browser__css' })
|
|
97
127
|
export const [
|
|
98
128
|
browser__script$_,
|
|
99
129
|
browser__script_,
|
package/browser/index.test.ts
CHANGED
|
@@ -11,15 +11,23 @@ import {
|
|
|
11
11
|
browser__metafile2,
|
|
12
12
|
server__metafile0
|
|
13
13
|
} from '../_fixtures/metafiles.js'
|
|
14
|
-
import { dist_path__set, is_prod__set } from '../app/index.js'
|
|
14
|
+
import { cwd__set, dist_path__set, is_prod__set } from '../app/index.js'
|
|
15
15
|
import { app_ctx, middleware_ctx_ } from '../ctx/index.js'
|
|
16
16
|
import { server__metafile__set, server__output_, server__output__relative_path__set } from '../server/index.js'
|
|
17
17
|
import {
|
|
18
|
+
browser__css$_,
|
|
19
|
+
browser__css_,
|
|
20
|
+
browser__cssBundle$_,
|
|
21
|
+
browser__cssBundle_,
|
|
22
|
+
browser__cssBundle__relative_path$_,
|
|
23
|
+
browser__cssBundle__relative_path_,
|
|
18
24
|
browser__metafile$_,
|
|
19
25
|
browser__metafile_,
|
|
20
26
|
browser__metafile__set,
|
|
21
27
|
browser__metafile_path$_,
|
|
22
28
|
browser__metafile_path_,
|
|
29
|
+
browser__output$_,
|
|
30
|
+
browser__output_,
|
|
23
31
|
browser__output__relative_path$_,
|
|
24
32
|
browser__output__relative_path_,
|
|
25
33
|
browser__script$_,
|
|
@@ -163,12 +171,77 @@ test('browser__output__relative_path', ()=>{
|
|
|
163
171
|
})
|
|
164
172
|
equal(server__output_(middleware_ctx), server__metafile0.outputs['dist/server--dev/index.server-SVR0SVR0.js'])
|
|
165
173
|
equal(browser__output__relative_path$_(middleware_ctx)._, 'dist/browser--dev/index.browser-BRS0BRS0.js')
|
|
166
|
-
equal(
|
|
174
|
+
equal(browser__output__relative_path_(middleware_ctx), 'dist/browser--dev/index.browser-BRS0BRS0.js')
|
|
167
175
|
// @ts-expect-error TS2345
|
|
168
176
|
throws(()=>browser__output__relative_path$_(ctx_()))
|
|
169
177
|
// @ts-expect-error TS2345
|
|
170
178
|
throws(()=>browser__output__relative_path_(ctx_()))
|
|
171
179
|
})
|
|
180
|
+
test('browser__output', ()=>{
|
|
181
|
+
const middleware_ctx = middleware_ctx_()
|
|
182
|
+
equal(browser__output$_(middleware_ctx)(), undefined)
|
|
183
|
+
equal(browser__output_(middleware_ctx), undefined)
|
|
184
|
+
server__metafile__set(middleware_ctx, server__metafile0)
|
|
185
|
+
browser__metafile__set(middleware_ctx, browser__metafile0)
|
|
186
|
+
server__output__relative_path__set(middleware_ctx, 'dist/server--dev/index.server-SVR0SVR0.js')
|
|
187
|
+
equal(browser__output__relative_path_(middleware_ctx), 'dist/browser--dev/index.browser-BRS0BRS0.js')
|
|
188
|
+
equal(typeof browser__metafile0.outputs['dist/browser--dev/index.browser-BRS0BRS0.js'], 'object')
|
|
189
|
+
equal(browser__output$_(middleware_ctx)(), browser__metafile0.outputs['dist/browser--dev/index.browser-BRS0BRS0.js'])
|
|
190
|
+
equal(browser__output_(middleware_ctx), browser__metafile0.outputs['dist/browser--dev/index.browser-BRS0BRS0.js'])
|
|
191
|
+
// @ts-expect-error TS2345
|
|
192
|
+
throws(()=>browser__output$_(app_ctx))
|
|
193
|
+
// @ts-expect-error TS2345
|
|
194
|
+
throws(()=>browser__output_(app_ctx))
|
|
195
|
+
})
|
|
196
|
+
test('browser__cssBundle__relative_path', ()=>{
|
|
197
|
+
const middleware_ctx = middleware_ctx_()
|
|
198
|
+
equal(browser__cssBundle__relative_path$_(middleware_ctx)(), undefined)
|
|
199
|
+
equal(browser__cssBundle__relative_path_(middleware_ctx), undefined)
|
|
200
|
+
server__metafile__set(middleware_ctx, server__metafile0)
|
|
201
|
+
browser__metafile__set(middleware_ctx, browser__metafile0)
|
|
202
|
+
server__output__relative_path__set(middleware_ctx, 'dist/server--dev/index.server-SVR0SVR0.js')
|
|
203
|
+
equal(browser__output__relative_path_(middleware_ctx), 'dist/browser--dev/index.browser-BRS0BRS0.js')
|
|
204
|
+
equal(browser__metafile0.outputs['dist/browser--dev/index.browser-BRS0BRS0.js'].cssBundle, 'dist/browser--dev/index.browser-BRS0BRS0.css')
|
|
205
|
+
equal(browser__cssBundle__relative_path$_(middleware_ctx)(), 'dist/browser--dev/index.browser-BRS0BRS0.css')
|
|
206
|
+
equal(browser__cssBundle__relative_path_(middleware_ctx), 'dist/browser--dev/index.browser-BRS0BRS0.css')
|
|
207
|
+
// @ts-expect-error TS2345
|
|
208
|
+
throws(()=>browser__cssBundle__relative_path$_(app_ctx))
|
|
209
|
+
// @ts-expect-error TS2345
|
|
210
|
+
throws(()=>browser__cssBundle__relative_path_(app_ctx))
|
|
211
|
+
})
|
|
212
|
+
test('browser__cssBundle', ()=>{
|
|
213
|
+
const middleware_ctx = middleware_ctx_()
|
|
214
|
+
equal(browser__cssBundle$_(middleware_ctx)(), undefined)
|
|
215
|
+
equal(browser__cssBundle_(middleware_ctx), undefined)
|
|
216
|
+
cwd__set(app_ctx, '/cwd')
|
|
217
|
+
server__metafile__set(middleware_ctx, server__metafile0)
|
|
218
|
+
browser__metafile__set(middleware_ctx, browser__metafile0)
|
|
219
|
+
server__output__relative_path__set(middleware_ctx, 'dist/server--dev/index.server-SVR0SVR0.js')
|
|
220
|
+
equal(browser__output__relative_path_(middleware_ctx), 'dist/browser--dev/index.browser-BRS0BRS0.js')
|
|
221
|
+
equal(browser__metafile0.outputs['dist/browser--dev/index.browser-BRS0BRS0.js'].cssBundle, 'dist/browser--dev/index.browser-BRS0BRS0.css')
|
|
222
|
+
equal(browser__cssBundle$_(middleware_ctx)(), '/cwd/dist/browser--dev/index.browser-BRS0BRS0.css')
|
|
223
|
+
equal(browser__cssBundle_(middleware_ctx), '/cwd/dist/browser--dev/index.browser-BRS0BRS0.css')
|
|
224
|
+
// @ts-expect-error TS2345
|
|
225
|
+
throws(()=>browser__cssBundle$_(app_ctx))
|
|
226
|
+
// @ts-expect-error TS2345
|
|
227
|
+
throws(()=>browser__cssBundle_(app_ctx))
|
|
228
|
+
})
|
|
229
|
+
test('browser__css', ()=>{
|
|
230
|
+
const middleware_ctx = middleware_ctx_()
|
|
231
|
+
equal(browser__css$_(middleware_ctx)(), undefined)
|
|
232
|
+
equal(browser__css_(middleware_ctx), undefined)
|
|
233
|
+
server__metafile__set(middleware_ctx, server__metafile0)
|
|
234
|
+
browser__metafile__set(middleware_ctx, browser__metafile0)
|
|
235
|
+
server__output__relative_path__set(middleware_ctx, 'dist/server--dev/index.server-SVR0SVR0.js')
|
|
236
|
+
equal(browser__output__relative_path_(middleware_ctx), 'dist/browser--dev/index.browser-BRS0BRS0.js')
|
|
237
|
+
equal(browser__metafile0.outputs['dist/browser--dev/index.browser-BRS0BRS0.js'].cssBundle, 'dist/browser--dev/index.browser-BRS0BRS0.css')
|
|
238
|
+
equal(browser__css$_(middleware_ctx)(), '/index.browser-BRS0BRS0.css')
|
|
239
|
+
equal(browser__css_(middleware_ctx), '/index.browser-BRS0BRS0.css')
|
|
240
|
+
// @ts-expect-error TS2345
|
|
241
|
+
throws(()=>browser__css$_(app_ctx))
|
|
242
|
+
// @ts-expect-error TS2345
|
|
243
|
+
throws(()=>browser__css_(app_ctx))
|
|
244
|
+
})
|
|
172
245
|
test('browser__script', ()=>{
|
|
173
246
|
const middleware_ctx = middleware_ctx_()
|
|
174
247
|
equal(browser__script$_(middleware_ctx)._, undefined)
|
package/build/index.js
CHANGED
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
browser__metafile__persist,
|
|
15
15
|
browser__metafile__set,
|
|
16
16
|
browser__metafile_path_,
|
|
17
|
+
browser__output_,
|
|
17
18
|
browser__output__relative_path_
|
|
18
19
|
} from '../browser/index.js'
|
|
19
20
|
import { app_ctx } from '../ctx/index.js'
|
|
@@ -23,6 +24,7 @@ import {
|
|
|
23
24
|
server__metafile__persist,
|
|
24
25
|
server__metafile__set,
|
|
25
26
|
server__metafile_path_,
|
|
27
|
+
server__output_,
|
|
26
28
|
server__output__relative_path_M_middleware_ctx_
|
|
27
29
|
} from '../server/index.js'
|
|
28
30
|
export const [
|
|
@@ -337,7 +339,7 @@ export function rebuildjs_plugin_() {
|
|
|
337
339
|
}
|
|
338
340
|
}
|
|
339
341
|
async function rebuildjs__assets__link() {
|
|
340
|
-
const outputs= server__metafile.outputs ?? {}
|
|
342
|
+
const outputs = server__metafile.outputs ?? {}
|
|
341
343
|
for (let output__relative_path in outputs) {
|
|
342
344
|
switch (extname(output__relative_path)) {
|
|
343
345
|
case '.js':
|
|
@@ -401,11 +403,11 @@ async function server__metafile__update(server__metafile, build_id) {
|
|
|
401
403
|
server__output__relative_path,
|
|
402
404
|
middleware_ctx
|
|
403
405
|
] of server__output__relative_path_M_middleware_ctx_(app_ctx).entries()) {
|
|
404
|
-
const
|
|
405
|
-
const { cssBundle } =
|
|
406
|
+
const server__output = server__output_(middleware_ctx)
|
|
407
|
+
const { cssBundle } = server__output
|
|
406
408
|
if (cssBundle) {
|
|
407
|
-
|
|
408
|
-
|
|
409
|
+
server__output.esbuild_cssBundle = esbuild_cssBundle_(cssBundle)
|
|
410
|
+
server__output.cssBundle_content = [
|
|
409
411
|
server__output__relative_path,
|
|
410
412
|
...(
|
|
411
413
|
browser__output__relative_path_(middleware_ctx)
|
|
@@ -425,13 +427,12 @@ async function browser__metafile__update(browser__metafile, build_id) {
|
|
|
425
427
|
}
|
|
426
428
|
browser__metafile__set(app_ctx, browser__metafile)
|
|
427
429
|
for (const middleware_ctx of server__output__relative_path_M_middleware_ctx_(app_ctx)?.values?.() ?? []) {
|
|
428
|
-
const
|
|
429
|
-
if (
|
|
430
|
-
const
|
|
431
|
-
const { cssBundle } = output
|
|
430
|
+
const browser__output = browser__output_(middleware_ctx)
|
|
431
|
+
if (browser__output) {
|
|
432
|
+
const { cssBundle } = browser__output
|
|
432
433
|
if (cssBundle) {
|
|
433
|
-
|
|
434
|
-
|
|
434
|
+
browser__output.esbuild_cssBundle = esbuild_cssBundle_(cssBundle)
|
|
435
|
+
browser__output.cssBundle_content = [browser__output__relative_path_(middleware_ctx)]
|
|
435
436
|
}
|
|
436
437
|
}
|
|
437
438
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rebuildjs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "Reactive esbuild...simple hackable alternative to vite for Multi Page Apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"reactive",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"./package.json": "./package.json"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"ctx-core": "^5.
|
|
56
|
+
"ctx-core": "^5.10.0",
|
|
57
57
|
"elysia": "^0.8.8",
|
|
58
58
|
"esbuild": "^0.19.11",
|
|
59
59
|
"fdir": "^6.1.1",
|
package/server/index.js
CHANGED
|
@@ -84,12 +84,11 @@ export const [
|
|
|
84
84
|
Object.keys(server__metafile.outputs)
|
|
85
85
|
.filter(server__output__relative_path=>
|
|
86
86
|
server__metafile.outputs[server__output__relative_path].entryPoint)
|
|
87
|
-
.map(
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}))),
|
|
87
|
+
.map(server__output__relative_path=>{
|
|
88
|
+
const middleware_ctx = middleware_ctx_()
|
|
89
|
+
server__output__relative_path__set(middleware_ctx, server__output__relative_path)
|
|
90
|
+
return [server__output__relative_path, middleware_ctx]
|
|
91
|
+
}))),
|
|
93
92
|
{
|
|
94
93
|
id: 'server__output__relative_path_M_middleware_ctx',
|
|
95
94
|
ns: 'app'
|
|
@@ -114,7 +113,7 @@ export const [
|
|
|
114
113
|
server__cssBundle__relative_path_
|
|
115
114
|
] = be_memo_pair_(ctx=>
|
|
116
115
|
server__output_(ctx)?.cssBundle,
|
|
117
|
-
{ ns: 'middleware', id: '
|
|
116
|
+
{ ns: 'middleware', id: 'server__cssBundle__relative_path', })
|
|
118
117
|
export const [
|
|
119
118
|
server__cssBundle$_,
|
|
120
119
|
server__cssBundle_
|