Build config

Is there a build hook? I want to clear all console.log() related code in the code when building the project file.
2 Replies
AlexB
AlexB•2mo ago
Hi, have you managed to solve this?
Avi
Avi•5w ago
@blackawn I mean you can do
if (process.env.NODE_ENV === "development") {
console.log(...)
}
if (process.env.NODE_ENV === "development") {
console.log(...)
}
Want results from more Discord servers?
Add your server