我缩小和连接供应商的文件。最好用一些信息(比如原始文件名)将vendor.min.js中的脚本分开。我正在使用向输出文件中添加一个标题。// Minify vendor JS return gulp.src([
'lib(compressed) - all rights reserved to the r
有没有办法在package.json命令中传递参数?我的脚本: "test": "node mytest.js $1 $2 | node_modules/tap-difflet/bin/tap-difflet"命令行界面npm run test 8080 production
然后在mytest.js上,我想用process.argv获取参数