What's the best way to have `console.log`s in JS code that are automatically stripped out by `esbuil

What's the best way to have console.logs in JS code that are automatically stripped out by esbuild, unless some specific action is performed during the build?
Was this page helpful?