13 lines
319 B
JavaScript
13 lines
319 B
JavaScript
|
const path = require('path');
|
||
|
const merge = require('webpack-merge');
|
||
|
const baseConfig = require('./webpack.base.js');
|
||
|
|
||
|
const config = {
|
||
|
entry: './src/client/index.js',
|
||
|
output: {
|
||
|
filename: 'bundle.js',
|
||
|
path: path.resolve(__dirname, 'public')
|
||
|
}
|
||
|
};
|
||
|
|
||
|
module.exports = merge(baseConfig, config);
|