File size: 372 Bytes
79859e3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
const path = require('path');
const webpack = require('webpack');
module.exports = {
mode: 'production',
entry: {
server: './index.js',
},
output: {
path: path.join(__dirname, 'build'),
filename: 'index.js'
},
module: {
rules: [
{
exclude: /node_modules/
}
]
}
}; |