Running tasks in vscode on Windows
Venryx opened this issue · comments
Stephen Wicklund commented
Executing npm run build
currently fails on Windows, since it calls npm run clean
, which calls rm -rf dist/*
, which fails since Windows doesn't have the rf
command.
A simple solution is to add shx
as a dev-dependency, then replace rm -rf dist/*
with shx rm -rf dist/*
.
Stephen Wicklund commented
Created a pull request fixing this issue here: #19
waiting commented
I run scripts npm run clean
under git-bash
, so rm -rf
works. 😄