multyx-client
Version:
Framework designed to simplify the creation of multiplayer browser games by addressing the complexities of managing server-client communication, shared state, and input handling
14 lines (12 loc) • 414 B
JavaScript
const path = require('path');
module.exports = {
entry: './dist/index.js',
output: {
filename: 'multyx.js',
path: path.resolve(__dirname),
library: 'Multyx', // Specify the global variable name
libraryTarget: 'umd', // Attach to the global object in a universal module definition (UMD) fashion
libraryExport: 'default'
},
mode: 'production'
};