mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 11:59:00 +00:00
@@ -348,7 +348,7 @@ void Process::finishCreation(JSC::VM& vm)
|
||||
JSC::JSValue(JSC::jsNumber(0)));
|
||||
|
||||
this->putDirect(this->vm(), clientData->builtinNames().versionPublicName(),
|
||||
JSC::jsString(this->vm(), makeAtomString(REPORTED_NODE_VERSION)));
|
||||
JSC::jsString(this->vm(), makeString("v", REPORTED_NODE_VERSION)));
|
||||
|
||||
// this gives some way of identifying at runtime whether the SSR is happening in node or not.
|
||||
// this should probably be renamed to what the name of the bundler is, instead of "notNodeJS"
|
||||
|
||||
Reference in New Issue
Block a user