diff --git a/webpack.config.ts b/webpack.config.ts deleted file mode 100644 index 7d06810..0000000 --- a/webpack.config.ts +++ /dev/null @@ -1,29 +0,0 @@ -import * as path from 'path'; -import * as webpack from 'webpack'; -import webpackNodeExternals = require('webpack-node-externals'); -const config: webpack.Configuration = { - entry: './src/index.ts', - mode: 'development', - target: 'node', - externals: [webpackNodeExternals()], - devtool: 'inline-source-map', - module: { - rules: [ - { - test: /\.tsx?$/, - use: 'ts-loader', - exclude: /node_modules/, - }, - ], - }, - resolve: { - extensions: ['.tsx', '.ts', '.js'], - }, - output: { - filename: 'index.js', - path: path.resolve(__dirname, 'lambda'), - library: 'index', - libraryTarget: 'commonjs2', - }, -}; -export default config;