Files
sveltekit-electron-adapter/scripts/rmdist.ts
Patryk Rzucidlo (PTKDev) 7680437b1d [Fix] Scripts
2023-02-11 01:27:13 +01:00

19 lines
409 B
TypeScript

/**
* Delete dist folder
* =====================
*
* @contributors: Patryk Rzucidło [@ptkdev] <support@ptkdev.io> (https://ptk.dev)
* Alì Shadman [@AliShadman95] (https://github.com/AliShadman95)
*
* @license: MIT License
*
*/
import * as shell from "shelljs";
import { dirname } from "path";
const __dirname = dirname;
const path = `${__dirname}/../dist`;
shell.rm("-Rf", path);