Files
Frank Schmid be20b6db5e Update examples (#259)
* Updated TypeScript example

* Updated offline example

* Updated multiple statically example

* Updated include npm example

* Update babel example

* Updated dynamic example

* Updated babel multi static example
2017-10-31 15:14:54 +01:00

24 lines
563 B
JavaScript

/*
* WARNING!
*
* This example is only there to show that you _can_ overtake the configuration
* manually. This is *strongly discouraged* since serverless-webpack V3 as it
* does not work with individual packaging of functions and prevents you to
* use optimizations like Webpack's tree shaking.
*/
const path = require('path');
module.exports = {
entry: {
first: './first.js',
second: './second.js'
},
target: 'node',
output: {
libraryTarget: 'commonjs',
path: path.join(__dirname, '.webpack'),
filename: '[name].js'
},
};