Open spyrosmas opened 6 years ago
npm install -g strip-js
should ideally be a solution for that. It works in Linux, but doesn't work on Windows because of this line in cli.js
:
var html = fs.readFileSync('/dev/stdin').toString();
I'll try to fix this in a few days when I get some time. If you have a solution, feel free to send a pull request :)
How to install in Windows so the strip-js < input.html command can work to be called from bat/cmd batch file?