re: Demystifying `devDependencies` and `dependencies` VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Question: if I have code referencing a devDependency. And that code continue to exist on prod, my app would break, correct? Then should I remove my...
 

Also one option would be to check envoriment. And when building for production uglify removes unnecessary code. See more in uglify documentation.

I actually use this also for building multible different sites from one source.

code of conduct - report abuse