Skip to content

Commit 13b2153

Browse files
committed
unrelated, add llms.txt plugin on build only
1 parent 83eb77d commit 13b2153

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/.vitepress/config.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,11 @@ export default defineConfig({
120120
firebase: 'logos:firebase'
121121
}
122122
}),
123-
llmstxt({
124-
workDir: 'en',
125-
ignoreFiles: ['index.md']
126-
})
123+
process.env.NODE_ENV === 'production' &&
124+
llmstxt({
125+
workDir: 'en',
126+
ignoreFiles: ['index.md']
127+
})
127128
]
128129
}
129130
})

0 commit comments

Comments
 (0)