Skip to content

Commit 2a481d1

Browse files
committed
chore: wip
1 parent 9674599 commit 2a481d1

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.stacks/core/server/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 --target bun', {
3+
const result = await runCommand('bun build ./src/index.ts --outdir dist --format esm', {
44
cwd: import.meta.dir,
55
})
66

.stacks/core/server/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
],
2727
"exports": {
2828
".": {
29-
"bun": "./src/index.ts"
29+
"bun": "./src/index.ts",
30+
"import": "./dist/index.js"
3031
},
3132
"./*": {
3233
"bun": "./*"

.stacks/core/vite/src/desktop.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type ViteConfig } from '@stacksjs/types'
2-
import { frameworkPath, projectPath } from '@stacksjs/path'
2+
import { frameworkPath, projectPath, projectStoragePath } from '@stacksjs/path'
33
import { alias } from '@stacksjs/alias'
44
import mkcert from 'vite-plugin-mkcert'
55
import * as c from 'kolorist'

.stacks/stacks/dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"scripts": {
3737
"build": "bun --bun build.ts",
3838
"build:app": "vite build ../../views/desktop/dashboard -c ../../vite/src/desktop.ts",
39-
"dev": "vite serve ../../views/desktop/dashboard -c ../../core/vite/src/desktop.ts",
39+
"dev": "bun --bun vite serve ../../views/desktop/dashboard -c ../../core/vite/src/desktop.ts",
4040
"dev:app": "tauri dev",
4141
"prepublishOnly": "bun --bun run build",
4242
"typecheck": "bun --bun tsc --noEmit"

0 commit comments

Comments
 (0)