bun-plugin-stx 0.2.10 → 0.2.12

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/index.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  startWatchMode,
9
9
  stxPlugin,
10
10
  watchAndBuild
11
- } from "./chunk-a3qganyh.js";
11
+ } from "./chunk-5npmwyts.js";
12
12
  import"./chunk-2mx7fq49.js";
13
13
  export {
14
14
  watchAndBuild,
package/dist/preload.js CHANGED
@@ -1,10 +1,9 @@
1
1
  // @bun
2
2
  import {
3
3
  src_default
4
- } from "./chunk-a3qganyh.js";
4
+ } from "./chunk-5npmwyts.js";
5
5
  import"./chunk-2mx7fq49.js";
6
6
 
7
7
  // src/preload.ts
8
8
  var {plugin } = globalThis.Bun;
9
9
  plugin(src_default());
10
- console.log("\u2705 stx plugin loaded - .stx files can now be imported");
package/dist/serve.d.ts CHANGED
@@ -9,6 +9,7 @@ export declare interface ServeOptions {
9
9
  componentsDir?: string
10
10
  layoutsDir?: string
11
11
  partialsDir?: string
12
+ publicDir?: string
12
13
  quiet?: boolean
13
14
  routes?: Record<string, (req: Request) => Response | Promise<Response>>
14
15
  onRequest?: (req: Request) => Response | Promise<Response> | null | undefined