text: const path = require('path');
  const slsw = require('serverless-webpack');
  
  module.exports = {
    entry: slsw.lib.entries,
    resolve: {
      extensions: [
        '.js',
        '.jsx',
        '.json',
        '.ts',
        '.tsx'
      ]
    },
    output: {
      libraryTarget: 'umd',
      path: path.join(__dirname, '.webpack'),
      filename: '[name].js',
    },
    target: 'node',
    module: {
      loaders: [
        { test: /\.ts(x?)$/, loader: 'ts-loader', options: {
          transpileOnly: true
        }},      
      ]  
    },
  };
  