UNPKG

@lucide/helpers

Version:

A internal used package with helpers.

12 lines (10 loc) 277 B
import fs from 'fs'; import path from 'path'; /** * Resets the file contents. * * @param {string} fileName * @param {string} outputDirectory */ export const resetFile = (fileName, outputDirectory) => fs.writeFileSync(path.join(outputDirectory, fileName), '', 'utf-8');