Mirror of static site repo git.pfy.ch/pfych/static
Something went wrong. Try again.
1234567891011import { 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}`;};