mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-21 23:50:45 +00:00
4 lines
228 B
JavaScript
4 lines
228 B
JavaScript
import { mkdir, copyFile } from 'node:fs/promises';
|
|
await mkdir(new URL('./dist/', import.meta.url), { recursive: true });
|
|
await copyFile(new URL('./src/index.js', import.meta.url), new URL('./dist/index.js', import.meta.url));
|