Skip to content

Commit a0b810d

Browse files
committed
chore: wip
1 parent a17f9bf commit a0b810d

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.stacks/core/docs/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { docsEngine } from '@stacksjs/vite'
77
import { server } from '@stacksjs/server'
88

99
export function docsUrl() {
10-
const appUrl = app.url
11-
const docsSubdomain = app.subdomains.docs
10+
const appUrl = app.url || 'stacks.test'
11+
const docsSubdomain = app.subdomains?.docs || 'docs'
1212
const protocolPattern = /^https?:\/\//i
1313
const urlForParsing = protocolPattern.test(appUrl) ? appUrl : `http://${docsSubdomain}.${appUrl}:3333`
1414
const urlObj = new URL(urlForParsing)

.stacks/core/vite-plugin-vue-layouts/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { log, runCommand } from '@stacksjs/cli'
22

3-
const result = await runCommand('bun build ./src/index.ts --outdir dist --format esm --external path --external local-pkg --external vite --external debug --target node', {
3+
const result = await runCommand('bun build ./src/index.ts --outdir dist --format esm --external path --external local-pkg --external vite --external debug --target bun', {
44
cwd: import.meta.dir,
55
})
66

.stacks/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"vite/client",
3131
// "vue/ref-macros",
3232
"vite-plugin-pages/client",
33-
"@stacksjs/vite-plugin-vue-layouts/client",
3433
"vite-plugin-pwa/client",
3534
"bun-types"
3635
],

0 commit comments

Comments
 (0)