3

现在我可以使用 NPM 脚本使用自定义脚本搜索单个 html 文件。特别是以下内容:

  "scripts": {
    "uncss": "uncss index.html > ./lib/css/app.css"
  }

我想不通的是如何创建一个脚本来搜索我项目中的所有 html 文件(不搜索 node_modules 文件夹)。

有任何想法吗?

4

0 回答 0