rust-search-extension/content-script-bundle.js
Folyd 3597c311a0
Support description shards (#285)
* Load desc shards

* Add searchState compatible js

* Bump std search index

* Feat DescShardManager

* Integrate DocSearchV2

* Store desc shards into storage

* Remove legacy DocSearch

* Fix nightly search index

* Add std desc shards

* Split desc shards setter

* Compatible with libdocrust DocSearch for searchState

* Polish desc shards index format

* Load search.js to get descShards

* Store searchIndex as json array format

* Support source mode for std docs search

* Support add new crate's searchIndex

* Move loadScript to script/lib.js

* Check crate version compatibility in docs.rs
2024-06-23 08:01:37 +08:00

12 lines
No EOL
397 B
JavaScript

// esbuild content-script-bundle.js --bundle --minify --global-name=rse --target=es2015 --outdir=extension
import storage from "./extension/core/storage.js";
import settings from "./extension/settings.js";
import IndexSetter from "./extension/index-setter.js";
import CrateDocManager from "./extension/crate-manager.js";
export {
storage,
settings,
IndexSetter,
CrateDocManager,
}