1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-08-24 14:42:55 +02:00

update github action

This commit is contained in:
Thomas Wilkerling
2025-05-23 19:38:26 +02:00
parent cb00cf6787
commit 15018e1b26
24 changed files with 53 additions and 56 deletions

View File

@@ -5,8 +5,8 @@ let FlexSearch = await import(env ? "../dist/" + env + ".js" : "../src/bundle.js
if(FlexSearch.default) FlexSearch = FlexSearch.default;
if(FlexSearch.FlexSearch) FlexSearch = FlexSearch.FlexSearch;
const { Index, Document, Worker, Charset: _Charset, Encoder, Resolver } = FlexSearch;
const build_light = env && env.includes(".light");
const build_compact = env && env.includes(".compact");
const build_light = env && env.includes("light");
const build_compact = env && env.includes("compact");
const build_esm = !env || env.startsWith("module");
const Charset = _Charset || (await import("../src/charset.js")).default;