2022-07-28 23:57:59 +03:00
|
|
|
const path = require('path');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
mode: 'development',
|
|
|
|
entry: './src/index.js',
|
|
|
|
output: {
|
|
|
|
filename: 'game.js',
|
2022-07-29 02:34:47 +03:00
|
|
|
path: path.resolve(__dirname, 'public'),
|
2022-07-28 23:57:59 +03:00
|
|
|
},
|
|
|
|
devServer: {
|
|
|
|
static: path.join(__dirname, 'public'),
|
|
|
|
compress: false,
|
|
|
|
port: 55555,
|
|
|
|
},
|
|
|
|
};
|