概要
package.jsonに下記コードを書いてGitBashで実行したら、削除はできるが警告が表示される状態となった。
環境はwindows。
"clean": "rm -rf dist",
Could not find gozip for packaging. Using DotNetZip to package. This may cause problems preserving file permissions when using in a Linux based environment.
対処
rimrafを使う。
npm install --save-dev rimraf
- "clean": "rm -rf dist",
+ "clean": "rimraf dist",