不必要的输出信息
This commit is contained in:
parent
dbc3dbaa75
commit
4b21beaa55
|
|
@ -10,7 +10,6 @@ module.exports = (babel) => {
|
||||||
const { base } = parse(filename);
|
const { base } = parse(filename);
|
||||||
const node = path.node;
|
const node = path.node;
|
||||||
if (['index.ts', 'index.js'].includes(base) && t.isCallExpression(node) && t.isIdentifier(node.callee) && node.callee.name === 'OakComponent') {
|
if (['index.ts', 'index.js'].includes(base) && t.isCallExpression(node) && t.isIdentifier(node.callee) && node.callee.name === 'OakComponent') {
|
||||||
console.log(filename, base);
|
|
||||||
injectGetRender(node, cwd, filename, 'web');
|
injectGetRender(node, cwd, filename, 'web');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue