webpack npx http://www.ruanyifeng.com/blog/2019/02/npx.html npx 想要解决的主要问题,就是调用项目内部安装的模块。npx 的原理很简单,就是运行的时候,会到node_modules/.bin路径和环境变量$PATH里面,检查命令是否存在。 npm scripts 使用指南