How to rename file with npm script

后端 未结 3 1566
予麋鹿
予麋鹿 2021-01-13 11:19

I am using copyfiles as an npm scirpt copyfiles -u 2 /src/app/conf.dev.json dist/config/ but in the end I want to get the file renamed

Ho

3条回答
  •  悲&欢浪女
    2021-01-13 11:52

    You can use this lib. https://www.npmjs.com/package/move-file just move if to the "new name"

提交回复
热议问题