import { thisCyclesHash } from '../config'; export const createScriptPath = (script: string, cwd?: string): string => { const js = script .replaceAll('.tsx', '.ts') .replaceAll('.ts', `.min.js`) .replaceAll(cwd || '', ''); return `/scripts/${js}`; };