node-ember icon indicating copy to clipboard operation
node-ember copied to clipboard

Allow debug mode

Open pharcosyle opened this issue 12 years ago • 3 comments

This may already be possible, but if not: could you make it possible to toggle between the configuration of the ember.js debug build (which has console logging and assertions and stuff) and the production build?

pharcosyle avatar Oct 08 '12 05:10 pharcosyle

I'll look into it. We could probably include *-debug.js versions of each file.

charlesjolley avatar Nov 15 '12 05:11 charlesjolley

Actually, the versions of the files I am publishing ARE the debug versions. I need to figure out how to build the stripped versions as well is seems...

charlesjolley avatar Nov 15 '12 06:11 charlesjolley

This might be hard, but the best thing would be to be able to use the same package in development and production and just flip a boolean to switch between debug/prod.

pharcosyle avatar Nov 15 '12 07:11 pharcosyle