Created
August 26, 2016 09:38
-
-
Save rotemtam/6fb5d23442c7697ab40b76d1bda9c493 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 = { | |
entry: './src/index.js', | |
target: 'node', | |
output: { | |
path: './lib', | |
filename: 'index.js', | |
libraryTarget: 'commonjs2' | |
}, | |
externals: { | |
'aws-sdk': 'aws-sdk' | |
}, | |
module: { | |
loaders: [ | |
{ | |
test: /\.json$/, | |
loader: 'json-loader' | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment