We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 376a0c5 commit 9164898Copy full SHA for 9164898
packages/cli-v3/src/indexing/registerTasks.ts
@@ -62,6 +62,10 @@ async function tryImport(path: string): Promise<Result<any>> {
62
function getExportNames(module: any) {
63
const exports: string[] = [];
64
65
+ if (!module) {
66
+ return exports;
67
+ }
68
+
69
const exportKeys = Object.keys(module);
70
71
if (exportKeys.length === 0) {
0 commit comments