// config to build a graphql.js to run on AWS Lambda // the entry file is index.lambda.ts which is an event handler // compatible for AWS Lambda const merge = require('webpack-merge'); const common = require('./webpack.common.js'); module.exports = merge(common, { mode: 'production', entry: { graphql: './src/graphql/index.lambda.ts', }, });