mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2024-12-05 02:10:18 +00:00
A little fix in build script
This commit is contained in:
parent
f8eb751983
commit
8d27bc609b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user