mirror of
https://github.com/chrononeko/chronocat.git
synced 2024-11-24 09:15:52 +00:00
9 lines
298 B
TypeScript
9 lines
298 B
TypeScript
import { cp, mkdir } from 'node:fs/promises'
|
|
import { join, resolve } from 'node:path'
|
|
|
|
void (async () => {
|
|
const distPath = resolve(__dirname, '../../build/dist/iife/')
|
|
await mkdir(distPath, { recursive: true })
|
|
await cp(join(__dirname, 'lib/index.js'), join(distPath, 'chronocat.js'))
|
|
})()
|