Add constants file

This commit is contained in:
Asher
2019-02-07 11:47:00 -06:00
parent 81f48b8b06
commit 86d70ec790
8 changed files with 27 additions and 20 deletions

View 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;