mirror of
https://github.com/zhigang1992/reactfire.git
synced 2026-06-12 17:18:44 +08:00
14 lines
339 B
JavaScript
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
|
|
};
|