esbuild: Configuration for removing console.log

Viewed 19

after require('esbuild') in a esbuild.js file, what configuration options are needed to remove console.log calls if a variable like isProduction is true?

0 Answers
Related