penambahan web socket
This commit is contained in:
No files matched your search
Generated
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
import process from 'node:process';
|
||||
import { l as logger } from './cli.B9AmABr3.mjs';
|
||||
|
||||
function overrideEnv(targetEnv) {
|
||||
const currentEnv = process.env.NODE_ENV;
|
||||
if (currentEnv && currentEnv !== targetEnv) {
|
||||
logger.warn(
|
||||
`Changing \`NODE_ENV\` from \`${currentEnv}\` to \`${targetEnv}\`, to avoid unintended behavior.`
|
||||
);
|
||||
}
|
||||
process.env.NODE_ENV = targetEnv;
|
||||
}
|
||||
|
||||
export { overrideEnv as o };
|
||||
Reference in New Issue
Block a user