fluence-js/packages/core/js-peer/copy-worker-script-workaround.mjs

4 lines
129 B
JavaScript

import { copyFileSync } from 'fs';
copyFileSync('./dist/marine/worker-script/index.js', './src/marine/worker-script/index.js');