【发布时间】:2018-12-07 14:26:30
【问题描述】:
我想在我的 NPM 脚本中使用一个简单的命令。 命令是:
cat ./path/**/*.css > ./other/path/plugins.css
如果我在终端中运行它,它就可以工作。 但是,如果我将它放在 NPM 脚本中,如下所示:
"scripts" {
"cat": "cat ./path/**/*.css > ./other/path/plugins.css"
}
我会得到没有这样的文件或目录。
知道可能是什么原因吗?
谢谢!
【问题讨论】:
标签: npm-scripts