What is the best way to remove Typescript asserts so that a production build created using
npm run build is assert free?
Thank you
The fastest solution I know is to use assert-plus on your project.
You can easily deactivate assertion according to your environment (production, development,..).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With