@@ -187,7 +187,6 @@ for (const item of targets) {
187187 const rootPath = path . resolve ( dir , "../../node_modules/@opentui/core/parser.worker.js" )
188188 const parserWorker = fs . realpathSync ( fs . existsSync ( localPath ) ? localPath : rootPath )
189189 const workerPath = "./src/cli/cmd/tui/worker.ts"
190- const rgPath = "./src/file/ripgrep.worker.ts"
191190
192191 // Use platform-specific bunfs root path based on target OS
193192 const bunfsRoot = item . os === "win32" ? "B:/~BUN/root/" : "/$bunfs/root/"
@@ -212,19 +211,12 @@ for (const item of targets) {
212211 windows : { } ,
213212 } ,
214213 files : embeddedFileMap ? { "opencode-web-ui.gen.ts" : embeddedFileMap } : { } ,
215- entrypoints : [
216- "./src/index.ts" ,
217- parserWorker ,
218- workerPath ,
219- rgPath ,
220- ...( embeddedFileMap ? [ "opencode-web-ui.gen.ts" ] : [ ] ) ,
221- ] ,
214+ entrypoints : [ "./src/index.ts" , parserWorker , workerPath , ...( embeddedFileMap ? [ "opencode-web-ui.gen.ts" ] : [ ] ) ] ,
222215 define : {
223216 OPENCODE_VERSION : `'${ Script . version } '` ,
224217 OPENCODE_MIGRATIONS : JSON . stringify ( migrations ) ,
225218 OTUI_TREE_SITTER_WORKER_PATH : bunfsRoot + workerRelativePath ,
226219 OPENCODE_WORKER_PATH : workerPath ,
227- OPENCODE_RIPGREP_WORKER_PATH : rgPath ,
228220 OPENCODE_CHANNEL : `'${ Script . channel } '` ,
229221 OPENCODE_LIBC : item . os === "linux" ? `'${ item . abi ?? "glibc" } '` : "" ,
230222 } ,
0 commit comments