Created
May 23, 2014 08:44
-
-
Save Andrew-Spiers/fe435eee1dce903c4bcd to your computer and use it in GitHub Desktop.
node.js - Move 'requires' out of main application into seperate file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
flash: require('connect-flash'), | |
express: require('express'), | |
passport: require('passport'), | |
cookieParser: require('cookie-parser'), | |
mongojs: require('mongojs'), | |
LocalStrategy: require('passport-local').Strategy, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment