提交 ba1deaa1 编写于 作者: fxy060608's avatar fxy060608

fix(cli): webpack watch ignored

上级 5c8e329a
const path = require('path')
let partialIdentifier = false
module.exports = {
getPartialIdentifier () {
......@@ -21,10 +22,11 @@ module.exports = {
return {
ignored: [
/node_modules/,
/unpackage/,
/uniCloud/i,
/cloudfunctions-aliyun/,
/cloudfunctions-tcb/
path.resolve(process.env.UNI_INPUT_DIR, 'unpackage'),
path.resolve(process.env.UNI_INPUT_DIR, 'uniCloud-aliyun'),
path.resolve(process.env.UNI_INPUT_DIR, 'uniCloud-tcb'),
path.resolve(process.env.UNI_INPUT_DIR, 'cloudfunctions-aliyun'),
path.resolve(process.env.UNI_INPUT_DIR, 'cloudfunctions-tcb')
]
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册