mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-04-25 09:52:12 +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 require = createRequire(import.meta.url);
|
||||||
|
|
||||||
const getWorkerScriptPathOrDie = () => {
|
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)) {
|
if (!fs.existsSync(scriptPath)) {
|
||||||
console.error();
|
console.error('Worker script not found, looking at: ' + scriptPath);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user