We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0ac4cf commit 1d5e5eaCopy full SHA for 1d5e5ea
1 file changed
app/utils/load-content-collections.ts
@@ -15,7 +15,7 @@ export async function loadContentCollections(version: Version) {
15
const projectRoot = process.cwd()
16
// locally we use the actual content-collections source for DX and hot-reloads
17
if (NODE_ENV === "development") {
18
- const { allPages, allSections } = await import("content-collections")
+ const { allPages, allSections } = await import(/* @vite-ignore */ "content-collections")
19
return { allPages, allSections }
20
}
21
const genBase = resolve(projectRoot, "generated-docs", version, ".content-collections", "generated")
0 commit comments