I Peeked Into My Node_Modules Directory And You Won’t Believe What Happened Next
Jordan Scales

When you install Express, make sure you do so with the — production flag. Or make sure your NODE_ENV=production, otherwise you will be pulling in all of Express’ dev dependencies. Installing only production dependencies yields 43 packages in your node_modules/. Including Express.

Like what you read? Give Linus Miller a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.