react-ssr-boilerplate/webpack.client.js

13 lines
319 B
JavaScript
Raw Normal View History

2024-04-12 23:55:40 +00:00
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);