跳到正文
Virtual Roaming
返回

nodejs 开发环境集成

编辑页面

nodejs 开发环境集成

开发工具支持

参考

命令执行

npm-run-all

npm run clean
  && npm run build:css
  && npm run build:js
  && npm run build:html
npm-run-all clean build:*

-并行执行

npm-run-all --parallel clean build:*

concurrently & wait-on

{
  "scripts": {
    "dev": "concurrently \"pnpm run dev2\" \"pnpm run dev1\""
  }
}
{
  "scripts": {
    "dev": "concurrently \"pnpm run dev1\" \"wait-on http://localhost:3000 && pnpm run dev2\""
  }
}

参考

压缩 / 解压

压缩文件

解压文件

参考


编辑页面
分享本文:

上一篇
大屏方案
下一篇
函数顺序调用