mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This API has experimental modes for build validation but the dev validation is going to be stable in the next release.
14 lines
387 B
JavaScript
14 lines
387 B
JavaScript
const _instant = {
|
|
prefetch: 'static'
|
|
};
|
|
const instantConfig = _instant;
|
|
export { instantConfig as instant };
|
|
export default function Page() {
|
|
return <div>Hello</div>;
|
|
}
|
|
export const __debugCreateInstantConfigStack = process.env.NODE_ENV !== 'production' ? function instant() {
|
|
const error = new Error(' ');
|
|
error.name = 'Instant Validation';
|
|
return error;
|
|
} : null;
|