2021-07-04 18:07:44 +03:00
|
|
|
const path = require('path');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
mode: 'development',
|
2021-07-06 03:31:10 +03:00
|
|
|
entry: './js/index.js',
|
2021-07-04 18:07:44 +03:00
|
|
|
output: {
|
2021-07-06 03:31:10 +03:00
|
|
|
path: path.resolve(__dirname, 'app'),
|
|
|
|
filename: 'engine.js',
|
|
|
|
},
|
|
|
|
devServer: {
|
|
|
|
contentBase: path.join(__dirname, 'app'),
|
|
|
|
compress: false,
|
|
|
|
port: 55555,
|
2021-07-04 18:07:44 +03:00
|
|
|
},
|
|
|
|
};
|