-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env-cmdrc.js
34 lines (33 loc) · 903 Bytes
/
.env-cmdrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// eslint-disable-next-line @typescript-eslint/no-require-imports
const { parsed: overrides } = require("dotenv").config();
module.exports = {
"dev-chrome": {
NODE_ENV: "development",
TARGET: "chrome",
...overrides,
},
"dev-firefox": {
NODE_ENV: "development",
TARGET: "firefox",
...overrides,
},
"preview-firefox": {
WEB_EXT_FIREFOX_PROFILE: "tmp-web-ext-profile",
// Firefox can't connect when we save profile changes.
// https://github.com/mozilla/web-ext/issues/932
WEB_EXT_KEEP_PROFILE_CHANGES: false,
WEB_EXT_PROFILE_CREATE_IF_MISSING: true,
WEB_EXT_SOURCE_DIR: "dist/firefox",
...overrides,
},
"prod-chrome": {
NODE_ENV: "production",
TARGET: "chrome",
...overrides,
},
"prod-firefox": {
NODE_ENV: "production",
TARGET: "firefox",
...overrides,
},
};