diff --git a/packages/client/js-client.web.standalone/build.ts b/packages/client/js-client.web.standalone/build.ts index f4d31883..cc398e5c 100644 --- a/packages/client/js-client.web.standalone/build.ts +++ b/packages/client/js-client.web.standalone/build.ts @@ -11,9 +11,9 @@ import { replaceCodePlugin } from 'vite-plugin-replace'; const require = createRequire(import.meta.url); const getWorkerScriptPathOrDie = () => { - const scriptPath = path.resolve('../../core/dist/marine/worker-script/index.js'); + const scriptPath = path.resolve('../../core/js-peer/dist/marine/worker-script/index.js'); if (!fs.existsSync(scriptPath)) { - console.error(); + console.error('Worker script not found, looking at: ' + scriptPath); process.exit(1); }