Created
July 2, 2016 16:55
-
-
Save gauravtiwari/d7bcca0a8ed5eca216f7bdcb4b043c81 to your computer and use it in GitHub Desktop.
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
var config = require('./config.js'); | |
var nodeExternals = require('webpack-node-externals'); | |
// Ignore node_modules/* so all modules won't get bundled and include | |
// only whitelisted modules in bundle | |
config.externals = [nodeExternals({ | |
whitelist: ['require', 'webpack', 'jquery'] | |
})]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment