messing around with the backend
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
"build": "tsup src/index.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.7.4",
|
||||
"tsup": "^6.5.0",
|
||||
"typescript": "^5"
|
||||
}
|
||||
|
@ -1,3 +1 @@
|
||||
export function helloMeowMeow() {
|
||||
return "hi";
|
||||
}
|
||||
export * from "src/utils";
|
||||
|
6
common/src/utils.ts
Normal file
6
common/src/utils.ts
Normal file
@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Checks if we're in production
|
||||
*/
|
||||
export function isProduction() {
|
||||
return process.env.NODE_ENV === "production";
|
||||
}
|
Reference in New Issue
Block a user