Add constants file
This commit is contained in:
3
packages/server/src/constants.ts
Normal file
3
packages/server/src/constants.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export const isCli = typeof process.env.CLI !== "undefined" && process.env.CLI !== "false";
|
||||
export const serveStatic = typeof process.env.SERVE_STATIC !== "undefined" && process.env.SERVE_STATIC !== "false";
|
||||
export const buildDir = process.env.BUILD_DIR;
|
||||
Reference in New Issue
Block a user