1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-08-16 02:54:41 +02:00

fix indexeddb #475

This commit is contained in:
Thomas Wilkerling
2025-03-25 16:13:49 +01:00
parent 21313f594b
commit afa4a8acb9
35 changed files with 3365 additions and 3350 deletions

View File

@@ -443,6 +443,8 @@ else (async function(){
// replace the eval wrapper
build = build.replace(/\(0,eval\)\('([^']+)'\)/g, "$1");
if(build.includes("console.log")) console.warn("\n!!! Console was used in build !!!\n");
fs.writeFileSync(filename, build);
fs.existsSync("dist/node/") || fs.mkdirSync("dist/node/");
fs.copyFileSync("src/worker/node.js", "dist/node/node.js");