IndigoUnited / spoonjs-cli

SpoonJS CLI tool
MIT License
3 stars 1 forks source link

Integrate a console.* removal tool in the build process #8

Open satazor opened 11 years ago

satazor commented 11 years ago

This is just a remainder. There is a tool that could be used for this: git://github.com/Couto/groundskeeper.git

marcooliveira commented 11 years ago

Shouldn't this be part of the build task? Maybe create a separate task, that just removes console.* calls, and then call this task in the build task, if it is enabled.

satazor commented 11 years ago

@marcooliveira Yes, this is to be integrated in the build process.

Once we manage to integrate it in the build tool, we can remove https://github.com/IndigoUnited/spoon.js/blob/master/src/util/console.js from the final js file. The console is just useful to not throw errors in dev on IE.