npm使用

npm配置

npm config set cache    D:\nodejs\node_cache
npm config set prefix   D:\nodejs
npm config set registry https://registry.npm.taobao.org/

 编译指定dist文件目录

npm run build:prod -- --dest ./env/dist

 

posted @ 2020-10-10 10:12  jiuchen  阅读(97)  评论(0)    收藏  举报