"use strict";exports.__esModule=true;exports.default=NextPageDisallowReExportAllExports;function NextPageDisallowReExportAllExports(){return{visitor:{ExportAllDeclaration(path){var _ref,_path$node$loc$start,_path$node$loc,_path$node$loc2;const err=new SyntaxError(`Using \`export * from '...'\` in a page is disallowed. Please use \`export { default } from '...'\` instead.\n`+`Read more: https://nextjs.org/docs/messages/export-all-in-page`);err.code='BABEL_PARSE_ERROR';err.loc=(_ref=(_path$node$loc$start=(_path$node$loc=path.node.loc)==null?void 0:_path$node$loc.start)!=null?_path$node$loc$start:(_path$node$loc2=path.node.loc)==null?void 0:_path$node$loc2.end)!=null?_ref:path.node.loc;throw err;}}};}
//# sourceMappingURL=next-page-disallow-re-export-all-exports.js.map