mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 12:37:20 +00:00
updated nextjs example
This commit is contained in:
@@ -39,3 +39,11 @@ export function runtimeSupports(feature: keyof typeof features) {
|
||||
|
||||
return features[feature];
|
||||
}
|
||||
|
||||
export function isNode() {
|
||||
try {
|
||||
return global?.process?.release?.name === "node";
|
||||
} catch (e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user