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:
@@ -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");
|
||||
|
Reference in New Issue
Block a user