Files
reactfire/sample-complex/webpack.server.config.js
2019-04-18 11:29:53 -07:00

14 lines
339 B
JavaScript

const baseConfig = require('./webpack.config');
const path = require('path');
// Note that since this is for the server, it is important to
// set the target to node and set the libraryTarget to commonjs2
module.exports = {
// target: 'node',
entry: './server.js',
output: {
filename: 'server.bundle.js'
},
...baseConfig
};