
* web: Format live reload package. * web: Format package.json. * web: Revise globals. * web: Build entrypoints with a single ESBuild context. Clean up entrypoints. * web: WIP Prepare monorepo package for use. * web: Update build paths. Fix types. * web: WIP Add monorepo dependency. * web: Use monorepo utilities when building. * web: Fix issue where linters collide. Update ignore file. - Remove unused sort override for polyfills. * core: Prepare repo for NPM workspaces.
17 lines
473 B
JavaScript
17 lines
473 B
JavaScript
/**
|
|
* @file Constants for JavaScript and TypeScript files.
|
|
*/
|
|
|
|
/// <reference types="../../types/global.js" />
|
|
|
|
/**
|
|
* The current Node.js environment, defaulting to "development" when not set.
|
|
*
|
|
* Note, this should only be used during the build process.
|
|
*
|
|
* If you need to check the environment at runtime, use `process.env.NODE_ENV` to
|
|
* ensure that module tree-shaking works correctly.
|
|
*
|
|
*/
|
|
export const NodeEnvironment = process.env.NODE_ENV || "development";
|