text: const slsw = require('serverless-webpack');
  
  module.exports = {
    entry: slsw.lib.entries,
    target: 'node',
    mode: 'production',
    devtool: 'source-map',
    externals: [{ 'aws-sdk': 'commonjs aws-sdk' }],
    module: {
      rules: [
        {
          test: /\.js$/,
          exclude: /node_modules/,
          use: {
            loader: 'babel-loader',
          },
        },
      ],
    },
  };
  