var path=require('path');
var slsw=require('serverless-webpack');
var nodeExternals=require('webpack-node-externals');

module.exports={
context:__dirname,
mode:slsw.lib.webpack.isLocal?'development':'production',
entry:slsw.lib.entries,
devtool:slsw.lib.webpack.isLocal?'cheap-module-eval-source-map':'source-map',
resolve:{
extensions:['.mjs','.json','.ts'],
symlinks:false,
cacheWithContext:false},

output:{
libraryTarget:'commonjs',
path:path.join(__dirname,'.webpack'),
filename:'[name].js'},

target:'node',
externals:[nodeExternals()],
module:{
rules:[
{
test:/\.js$/,
exclude:/node_modules/,
use:[{loader:'babel-loader'}]}]},



plugins:[]};
//# sourceMappingURL=webpack.serverless.config.js.map