From 852beb9248e86666eb61d86e7dc6a1f6b8276839 Mon Sep 17 00:00:00 2001 From: ThrRip Date: Tue, 26 Mar 2024 09:07:54 +0800 Subject: [PATCH] [all]: Switch to the Nitro preset `bun` --- packages/admin/nuxt.config.ts | 4 ++++ packages/home/nuxt.config.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/packages/admin/nuxt.config.ts b/packages/admin/nuxt.config.ts index 9c71fa4..b37ea73 100644 --- a/packages/admin/nuxt.config.ts +++ b/packages/admin/nuxt.config.ts @@ -47,6 +47,10 @@ export default defineNuxtConfig({ devtools: false, + nitro: { + preset: 'bun' + }, + postcss: { plugins: { 'tailwindcss': {}, diff --git a/packages/home/nuxt.config.ts b/packages/home/nuxt.config.ts index 4b697b9..e2e5016 100644 --- a/packages/home/nuxt.config.ts +++ b/packages/home/nuxt.config.ts @@ -45,6 +45,10 @@ export default defineNuxtConfig({ devtools: false, + nitro: { + preset: 'bun' + }, + postcss: { plugins: { 'tailwindcss': {},