16 lines
292 B
JavaScript
16 lines
292 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
mode: 'development',
|
|
entry: './src/index.js',
|
|
output: {
|
|
filename: 'game.js',
|
|
path: path.resolve(__dirname, 'public'),
|
|
},
|
|
devServer: {
|
|
static: path.join(__dirname, 'public'),
|
|
compress: false,
|
|
port: 55555,
|
|
},
|
|
};
|