This commit is contained in:
Sch1nken 2023-12-26 23:33:11 +01:00
commit bddd51dd5d
14 changed files with 8441 additions and 0 deletions

21
client/webpack.config.js Normal file
View file

@ -0,0 +1,21 @@
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
entry: './src/App.js',
output: {
filename: './index.js',
path: path.resolve(__dirname, 'build')
},
plugins: [
new HtmlWebpackPlugin({
filename: 'index.html',
template: path.resolve(__dirname, './src/index.html'),
}),
],
devServer: {
static: path.join(__dirname, 'build'),
compress: true,
port: 8080
}
};