jebcolors
Version:
npm module that contains colors, gradients and a class used to modify the colors or gradients
15 lines (11 loc) • 348 B
text/typescript
import { readFileSync, writeFileSync } from "fs";
import { info, success, error } from "../functions/logs";
try{
info('Copying "bundle.js" from dist to docs ...')
const text = readFileSync('./dist/bundle.js')
writeFileSync('./docs/bundle.js', text)
success('"bundle.js" Copied')
}
catch(err){
error(`${err}`)
}