9 lines
435 B
TypeScript
9 lines
435 B
TypeScript
/**
|
|
* We extend Math.random() during builds and revalidates to ensure that prerenders don't observe randomness
|
|
* When dynamicIO is enabled. randomness is a form of IO even though it resolves synchronously. When dyanmicIO is
|
|
* enabled we need to ensure that randomness is excluded from prerenders.
|
|
*
|
|
* The extensions here never error nor alter the random generation itself and thus should be transparent to callers.
|
|
*/
|
|
export {};
|