During development the virtual module virtual:search-data is loaded correctly, but when running vitepress build docs the chunk that should contain the indexes ends up looking like this:
// formatted for easy reading
const e = {},
t = {},
o = {
previewLength: 62,
buttonLabel: "Search",
placeholder: "Search docs",
tokenize: "full",
},
a = { INDEX_DATA: e, PREVIEW_LOOKUP: t, Options: o };
export { a as default };
vitepress-plugin-search is the only plugin I have installed, with the following configuration:
During development the virtual module
virtual:search-data
is loaded correctly, but when runningvitepress build docs
the chunk that should contain the indexes ends up looking like this:vitepress-plugin-search
is the only plugin I have installed, with the following configuration:The package versions are: