fix: build using bun instead of node (woops)
This commit is contained in:
parent
00fb0d0a24
commit
76011ec65e
3 changed files with 9 additions and 2 deletions
|
|
@ -1,5 +1,9 @@
|
|||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
nitro: {
|
||||
preset: 'bun'
|
||||
},
|
||||
|
||||
modules: [
|
||||
'@nuxt/eslint',
|
||||
'@nuxt/ui',
|
||||
|
|
@ -9,6 +13,7 @@ export default defineNuxtConfig({
|
|||
devtools: {
|
||||
enabled: true
|
||||
},
|
||||
|
||||
app: {
|
||||
head: {
|
||||
link: [
|
||||
|
|
@ -36,6 +41,7 @@ export default defineNuxtConfig({
|
|||
fallback: 'dark',
|
||||
storageKey: 'nuxt-color-mode'
|
||||
},
|
||||
|
||||
srcDir: 'app/',
|
||||
|
||||
routeRules: {
|
||||
|
|
@ -52,4 +58,4 @@ export default defineNuxtConfig({
|
|||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
"scripts": {
|
||||
"build": "nuxt build",
|
||||
"dev": "nuxt dev",
|
||||
"preview": "nuxt preview",
|
||||
"preview": "bun .output/server/index.mjs",
|
||||
"postinstall": "nuxt prepare",
|
||||
"lint": "eslint .",
|
||||
"typecheck": "nuxt typecheck",
|
||||
|
|
|
|||
1
public/error-codes
Submodule
1
public/error-codes
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 895a01f026c0d297bd14d19139a80691bd493e6a
|
||||
Loading…
Reference in a new issue