mirror of
https://github.com/brettstack/civ6-play-by-cloud-turn-notifier.git
synced 2026-02-19 11:55:11 -05:00
15 lines
461 B
JavaScript
15 lines
461 B
JavaScript
const path = require('path')
|
|
const serverlessWebpack = require('serverless-webpack')
|
|
|
|
module.exports = {
|
|
entry: serverlessWebpack.lib.entries,
|
|
target: 'node',
|
|
mode: serverlessWebpack.lib.webpack.isLocal ? 'development' : 'production',
|
|
devtool: serverlessWebpack.lib.webpack.isLocal ? 'inline-cheap-module-source-map' : 'source-map',
|
|
output: {
|
|
libraryTarget: 'commonjs',
|
|
path: path.join(__dirname, '.webpack'),
|
|
filename: '[name].js',
|
|
}
|
|
}
|