mirror of
https://github.com/chrononeko/chronocat.git
synced 2024-11-25 09:37:35 +00:00
12 lines
311 B
TypeScript
12 lines
311 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'))
|
|
})()
|