Skip to content

Commit 9204163

Browse files
committed
skip registers other than traces in moduleList
1 parent 3b6520d commit 9204163

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

tasks/util/common.js

+12-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,18 @@ exports.findModuleList = function(pathToIndex) {
8888
node.parent.parent.type === 'ArrayExpression'
8989
) {
9090
var moduleName = node.value.replace('./', '');
91-
moduleList.push(moduleName);
91+
if([
92+
// transforms
93+
'aggregate',
94+
'filter',
95+
'groupby',
96+
'sort',
97+
98+
// components
99+
'calendars'
100+
].indexOf(moduleName) === -1) {
101+
moduleList.push(moduleName);
102+
}
92103
}
93104
});
94105

0 commit comments

Comments
 (0)