clean-empty-js
v2.0.0
Published
`clean-empty-js` is a Node.js CLI tool written in TypeScript that removes JavaScript files which contain only the empty output of `tsc`.
Downloads
1
Readme
clean-empty-js
clean-empty-js
is a Node.js CLI tool written in TypeScript that removes JavaScript files which contain only the empty output of tsc
.
Usage
After running tsc
, run the following command:
npx clean-empty-js "dist/**/*.js"
This will remove JavaScript files without meaningful content, keeping your build directory clean.