Files
notesnook/apps/web/.env-cmdrc.js

26 lines
442 B
JavaScript
Raw Normal View History

const { execSync } = require("child_process");
const gitHash = execSync("git rev-parse --short HEAD").toString().trim();
module.exports = {
all: {
REACT_APP_GIT_HASH: gitHash,
},
dev: {
REACT_APP_CI: true,
},
web: {
REACT_APP_PLATFORM: "web",
},
2021-05-31 09:53:31 +05:00
debug: {
2021-06-09 11:41:54 +05:00
// PWDEBUG: 1,
DEBUG: "pw:api",
2021-05-31 09:53:31 +05:00
},
silent: {
BROWSER: "none",
},
desktop: {
2021-04-29 09:31:21 +05:00
BROWSER: "none",
REACT_APP_PLATFORM: "desktop",
},
};