1234567891011121314151617181920 |
- 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/
- }
- ]
- }
- };
|