bun-plugin-stx 0.2.900 → 0.2.901
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/dist/serve.js +2 -1
- package/package.json +3 -3
package/dist/serve.js
CHANGED
|
@@ -11540,7 +11540,8 @@ ${output}`;
|
|
|
11540
11540
|
}
|
|
11541
11541
|
if (path === "/_stx/sw.js" && stxConfig.offline?.enabled) {
|
|
11542
11542
|
const stx = await stxModule;
|
|
11543
|
-
|
|
11543
|
+
await discoverFiles();
|
|
11544
|
+
return new Response(stx.generateOfflineWorker(stxConfig.offline, getBuildId(), [...discoveredPagePaths ?? []]), {
|
|
11544
11545
|
headers: {
|
|
11545
11546
|
"Content-Type": "text/javascript; charset=utf-8",
|
|
11546
11547
|
"Cache-Control": "no-cache",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bun-plugin-stx",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.901",
|
|
5
5
|
"description": "A Bun plugin that allows for using Laravel Blade-like syntax.",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.org>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"typecheck": "bun tsc --noEmit"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@stacksjs/stx": "0.2.
|
|
78
|
-
"stx-router": "0.2.
|
|
77
|
+
"@stacksjs/stx": "0.2.901",
|
|
78
|
+
"stx-router": "0.2.901"
|
|
79
79
|
}
|
|
80
80
|
}
|