bun-plugin-stx 0.2.229 → 0.2.230

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.d.ts CHANGED
@@ -217,6 +217,7 @@ export declare interface ServeOptions {
217
217
  componentsDir?: string
218
218
  layoutsDir?: string
219
219
  fallbackLayoutsDir?: string
220
+ fallbackComponentsDir?: string
220
221
  partialsDir?: string
221
222
  watchDirs?: string[]
222
223
  renderCache?: boolean
package/dist/serve.js CHANGED
@@ -9106,6 +9106,7 @@ async function serve(options) {
9106
9106
  const componentsDir = options.componentsDir ?? stxConfig.componentsDir ?? defaultStxConfig.componentsDir;
9107
9107
  const layoutsDir = options.layoutsDir ?? stxConfig.layoutsDir ?? defaultStxConfig.layoutsDir;
9108
9108
  const fallbackLayoutsDir = options.fallbackLayoutsDir ?? stxConfig.fallbackLayoutsDir;
9109
+ const fallbackComponentsDir = options.fallbackComponentsDir ?? stxConfig.fallbackComponentsDir;
9109
9110
  const partialsDir = options.partialsDir ?? stxConfig.partialsDir ?? defaultStxConfig.partialsDir;
9110
9111
  const publicDir = options.publicDir ?? stxConfig.publicDir ?? "public";
9111
9112
  let markPlaceholdersReady = () => {};
@@ -9831,6 +9832,7 @@ function __stxOverlay(errs){
9831
9832
  ...componentsDir && { componentsDir },
9832
9833
  ...layoutsDir && { layoutsDir },
9833
9834
  ...fallbackLayoutsDir && { fallbackLayoutsDir },
9835
+ ...fallbackComponentsDir && { fallbackComponentsDir },
9834
9836
  ...partialsDir && { partialsDir },
9835
9837
  autoShell: true,
9836
9838
  buildMode: "serve",
@@ -10019,6 +10021,7 @@ function __stxOverlay(errs){
10019
10021
  ...componentsDir && { componentsDir },
10020
10022
  ...layoutsDir && { layoutsDir },
10021
10023
  ...fallbackLayoutsDir && { fallbackLayoutsDir },
10024
+ ...fallbackComponentsDir && { fallbackComponentsDir },
10022
10025
  ...partialsDir && { partialsDir },
10023
10026
  autoShell: true,
10024
10027
  buildMode: "serve",
@@ -10399,6 +10402,7 @@ ${html}`;
10399
10402
  ...componentsDir && { componentsDir },
10400
10403
  ...layoutsDir && { layoutsDir },
10401
10404
  ...fallbackLayoutsDir && { fallbackLayoutsDir },
10405
+ ...fallbackComponentsDir && { fallbackComponentsDir },
10402
10406
  ...partialsDir && { partialsDir },
10403
10407
  autoShell: false
10404
10408
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bun-plugin-stx",
3
3
  "type": "module",
4
- "version": "0.2.229",
4
+ "version": "0.2.230",
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",