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...
 

Hi Vic,

If your code references a dependency, it should be in dependencies, otherwise your app will break. You'd generally reserve devDependencies for things like babel plugins and presets, test runners. Things that are needed to compile your application.

 
code of conduct - report abuse