message: Update scripts/pages/utils.js
diff: @@ -117,9 +117,10 @@ function getPageImports({ filename, dest, originalSource, importerFilePath }) {
  const isExportDeclaration = nodePath.isExportDeclaration();
  const isCallExpression = nodePath.isCallExpression();
  const isValidExpression =
  - !isImportDeclaration && !isExportDeclaration && !isCallExpression;
  + isImportDeclaration || isExportDeclaration || isCallExpression;
  if (!isValidExpression) return;
  - if (isExportDeclaration && !("source" in nodePath.node)) return;
  + // @ts-expect-error
  + if (isExportDeclaration && !nodePath.node.source) return;
  if (isCallExpression && !t.isImport(nodePath.node.callee)) return;
  /** @type {string} */
  