bun-plugin-stx 0.2.190 → 0.2.192
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 +1 -0
- package/dist/serve.js +4 -0
- package/package.json +1 -1
package/dist/serve.d.ts
CHANGED
package/dist/serve.js
CHANGED
|
@@ -9073,6 +9073,7 @@ async function serve(options) {
|
|
|
9073
9073
|
} catch {}
|
|
9074
9074
|
const componentsDir = options.componentsDir ?? stxConfig.componentsDir ?? defaultStxConfig.componentsDir;
|
|
9075
9075
|
const layoutsDir = options.layoutsDir ?? stxConfig.layoutsDir ?? defaultStxConfig.layoutsDir;
|
|
9076
|
+
const fallbackLayoutsDir = options.fallbackLayoutsDir ?? stxConfig.fallbackLayoutsDir;
|
|
9076
9077
|
const partialsDir = options.partialsDir ?? stxConfig.partialsDir ?? defaultStxConfig.partialsDir;
|
|
9077
9078
|
const publicDir = options.publicDir ?? stxConfig.publicDir ?? "public";
|
|
9078
9079
|
const stxModule = options.stxModule ? Promise.resolve(options.stxModule) : defaultStxModule;
|
|
@@ -9782,6 +9783,7 @@ function __stxOverlay(errs){
|
|
|
9782
9783
|
root: process19.cwd(),
|
|
9783
9784
|
...componentsDir && { componentsDir },
|
|
9784
9785
|
...layoutsDir && { layoutsDir },
|
|
9786
|
+
...fallbackLayoutsDir && { fallbackLayoutsDir },
|
|
9785
9787
|
...partialsDir && { partialsDir },
|
|
9786
9788
|
autoShell: true,
|
|
9787
9789
|
buildMode: "serve",
|
|
@@ -9968,6 +9970,7 @@ function __stxOverlay(errs){
|
|
|
9968
9970
|
root: process19.cwd(),
|
|
9969
9971
|
...componentsDir && { componentsDir },
|
|
9970
9972
|
...layoutsDir && { layoutsDir },
|
|
9973
|
+
...fallbackLayoutsDir && { fallbackLayoutsDir },
|
|
9971
9974
|
...partialsDir && { partialsDir },
|
|
9972
9975
|
autoShell: true,
|
|
9973
9976
|
buildMode: "serve",
|
|
@@ -10345,6 +10348,7 @@ ${html}`;
|
|
|
10345
10348
|
...defaultConfig4,
|
|
10346
10349
|
...componentsDir && { componentsDir },
|
|
10347
10350
|
...layoutsDir && { layoutsDir },
|
|
10351
|
+
...fallbackLayoutsDir && { fallbackLayoutsDir },
|
|
10348
10352
|
...partialsDir && { partialsDir },
|
|
10349
10353
|
autoShell: false
|
|
10350
10354
|
};
|
package/package.json
CHANGED