File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { log , runCommand } from '@stacksjs/cli'
2
2
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' , {
4
4
cwd : import . meta. dir ,
5
5
} )
6
6
Original file line number Diff line number Diff line change 26
26
],
27
27
"exports" : {
28
28
"." : {
29
- "bun" : " ./src/index.ts"
29
+ "bun" : " ./src/index.ts" ,
30
+ "import" : " ./dist/index.js"
30
31
},
31
32
"./*" : {
32
33
"bun" : " ./*"
Original file line number Diff line number Diff line change 1
1
import { type ViteConfig } from '@stacksjs/types'
2
- import { frameworkPath , projectPath } from '@stacksjs/path'
2
+ import { frameworkPath , projectPath , projectStoragePath } from '@stacksjs/path'
3
3
import { alias } from '@stacksjs/alias'
4
4
import mkcert from 'vite-plugin-mkcert'
5
5
import * as c from 'kolorist'
Original file line number Diff line number Diff line change 36
36
"scripts" : {
37
37
"build" : " bun --bun build.ts" ,
38
38
"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" ,
40
40
"dev:app" : " tauri dev" ,
41
41
"prepublishOnly" : " bun --bun run build" ,
42
42
"typecheck" : " bun --bun tsc --noEmit"
You can’t perform that action at this time.
0 commit comments