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/*.
Executing
npm run build
currently fails on Windows, since it callsnpm run clean
, which callsrm -rf dist/*
, which fails since Windows doesn't have therf
command.A simple solution is to add
shx
as a dev-dependency, then replacerm -rf dist/*
withshx rm -rf dist/*
.