We use both Dev-Tools extension and Shadow-ID's extension to speed up development process of the framework
https://github.com/cgkineo/adapt-devtools
https://github.com/darylhedley/adapt-shadowIds
However every so often someone makes the mistake of not turning them off for the final build, which is obviously not a good thing!
Is there a way to have a line of code in JS or something that says "only build this if grunt dev command is used, not grunt build" So when we are working on the framework with the Grunt Dev command, they show up, but on final build with Grunt Build they dont?
Any other similar method or solution is greatly appreciated, this is just how I would forsee it working. If you have a different idea that works too, im all ears
Thank you!!!
Sincrerely, a guy that keeps forgetting to remove the development tools before final build :P