mc-beta-server/webpack.config.js
2023-04-08 20:52:47 +01:00

15 lines
No EOL
304 B
JavaScript

const path = require('path');
const nodeExternals = require('webpack-node-externals');
module.exports = {
target: 'node',
externals: [ nodeExternals() ],
entry: './build/index.js',
output: {
path: path.join(__dirname, 'bundle'),
filename: 'MCBS.js',
},
optimization: {
minimize: true,
},
};