mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 23:49:51 +00:00
MDX: Temporary workaround for vite:json plugin conflicts
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'fumadocs-mdx': patch
|
||||
---
|
||||
|
||||
Temporary workaround for `vite:json` plugin conflicts
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"pages": ["index", "..."]
|
||||
}
|
||||
@@ -52,7 +52,7 @@ export default async function mdx(
|
||||
const metaLoader = toVite(
|
||||
createMetaLoader(configLoader, {
|
||||
// vite has built-in plugin for JSON files
|
||||
json: 'js',
|
||||
json: 'json',
|
||||
}),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user