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

fix(cli): webpack watch ignored

上级 5c8e329a
const path = require('path')
let partialIdentifier = false let partialIdentifier = false
module.exports = { module.exports = {
getPartialIdentifier () { getPartialIdentifier () {
...@@ -21,10 +22,11 @@ module.exports = { ...@@ -21,10 +22,11 @@ module.exports = {
return { return {
ignored: [ ignored: [
/node_modules/, /node_modules/,
/unpackage/, path.resolve(process.env.UNI_INPUT_DIR, 'unpackage'),
/uniCloud/i, path.resolve(process.env.UNI_INPUT_DIR, 'uniCloud-aliyun'),
/cloudfunctions-aliyun/, path.resolve(process.env.UNI_INPUT_DIR, 'uniCloud-tcb'),
/cloudfunctions-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.
先完成此消息的编辑!
想要评论请 注册