Waku: fix default config

This commit is contained in:
Fuma Nama
2026-04-16 17:39:38 +08:00
parent 1ecb7ae448
commit f51b849851
4 changed files with 11 additions and 9 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'create-fumadocs-app': patch
---
update Waku template
-1
View File
@@ -10,7 +10,6 @@
"types:check": "fumadocs-mdx && tsc --noEmit"
},
"dependencies": {
"@orama/orama": "^3.1.18",
"@takumi-rs/image-response": "^1.0.9",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
+6 -4
View File
@@ -9,13 +9,15 @@ export default defineConfig({
// we do this to avoid Vite from bundling React contexts and cause duplicated contexts conflicts.
optimizeDeps: {
exclude: ['fumadocs-ui', 'fumadocs-core'],
},
ssr: {
external: ['@takumi-rs/image-response'],
include: [
'fumadocs-ui > unified',
'fumadocs-core > remark',
'fumadocs-core > hast-util-to-jsx-runtime',
],
},
resolve: {
tsconfigPaths: true,
external: ['@orama/orama'],
external: ['@takumi-rs/image-response'],
},
plugins: [tailwindcss(), mdx(MdxConfig)],
-4
View File
@@ -1546,9 +1546,6 @@ importers:
examples/waku:
dependencies:
'@orama/orama':
specifier: ^3.1.18
version: 3.1.18
'@takumi-rs/image-response':
specifier: ^1.0.9
version: 1.0.9([email protected]([email protected]))([email protected])
@@ -7707,7 +7704,6 @@ packages:
[email protected]:
resolution: {integrity: sha512-KLwDUqs5WIny/94F4xZ4QfaAE6YWyjR+s79pt/ItQhk2CG+PJQ5xL6VuOWhiyN2eP3fryZK95vog9CTLCaYV2Q==}
cpu: [arm64, x64]
os: [darwin, linux, win32]
hasBin: true