Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
13
Frontend-Learner/node_modules/@nuxt/cli/dist/env-DV8TWRZt.mjs
generated
vendored
Normal file
13
Frontend-Learner/node_modules/@nuxt/cli/dist/env-DV8TWRZt.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { n as logger } from "./logger-B4ge7MhP.mjs";
|
||||
import process from "node:process";
|
||||
import { colors } from "consola/utils";
|
||||
|
||||
//#region ../nuxi/src/utils/env.ts
|
||||
function overrideEnv(targetEnv) {
|
||||
const currentEnv = process.env.NODE_ENV;
|
||||
if (currentEnv && currentEnv !== targetEnv) logger.warn(`Changing ${colors.cyan("NODE_ENV")} from ${colors.cyan(currentEnv)} to ${colors.cyan(targetEnv)}, to avoid unintended behavior.`);
|
||||
process.env.NODE_ENV = targetEnv;
|
||||
}
|
||||
|
||||
//#endregion
|
||||
export { overrideEnv as t };
|
||||
Loading…
Add table
Add a link
Reference in a new issue