dumper.js
dumper.js copied to clipboard
How to use development vs production
trafficstars
Hi, Thanks for making this handy module.
But something is unclear to me, how to use this in development vs production?
You advice to add this module to the dev dependencies. But what happens in production where the dev modules are not available? Wouldn't the code crash because the module cannot be found?
What would be the best way of handling this?
Cheers.
@eric-naguras I think this should be global constant just like console.log and there should be linter that will avoid using dd so we wont accidentally push to production / version control right?