UNPKG

@bowtie/sls

Version:

Serverless helpers & utilities

11 lines (10 loc) 294 B
const slsw = require('serverless-webpack'); const nodeExternals = require('webpack-node-externals'); const path = require('path'); module.exports = { target: 'node', entry: slsw.lib.entries, externals: [nodeExternals({ modulesDir: path.join(__dirname, '../../node_modules'), })] };