code-server-2/packages/server/src/constants.ts

4 lines
255 B
TypeScript
Raw Normal View History

2019-02-07 17:47:00 +00:00
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;