Skip to content

Conversation

@CodeZhangBorui
Copy link
Contributor

基于 easyops-cn/docusaurus-search-local 为全站添加搜索功能。

生成的 search-index.json 为 1.47 MiB (1,549,016 字节)

search-box-preview.mp4

(没有找到项目指定使用的 pnpm 版本,所以使用 pnpm@8.3.1 生成 pnpm-lock.yaml

@moesoha
Copy link
Member

moesoha commented Nov 15, 2024

可否提供 search-index.json 在 gzip 之后的大小?

@CodeZhangBorui
Copy link
Contributor Author

可否提供 search-index.json 在 gzip 之后的大小?

397 KB (406,747 字节)

# Conflicts:
#	docusaurus.config.ts
#	package.json
#	pnpm-lock.yaml
@moesoha moesoha merged commit ac4d282 into luogu-dev:master Nov 15, 2024
1 check passed
@moesoha
Copy link
Member

moesoha commented Nov 15, 2024

已经合并,稍后会自动部署到线上,感谢贡献。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants