mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 19:14:16 +00:00
expose isProduction
This commit is contained in:
parent
289d30b398
commit
3438e3385c
@ -35,6 +35,8 @@ global.toBoolean = (value) => {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
global.isProduction = process.env.NODE_ENV === "production"
|
||||||
|
|
||||||
import API from "./api"
|
import API from "./api"
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user