configure webpack

This commit is contained in:
counterweight 2025-03-12 18:56:53 +01:00
parent f034f29d94
commit 5b6ab8779e
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C

12
webpack.config.js Normal file
View file

@ -0,0 +1,12 @@
const path = require('path');
module.exports = {
entry: {
invite: './src/front/pages/invite.js',
},
output: {
filename: '[name].bundle.js',
path: path.resolve(__dirname, 'public'),
},
mode: 'development',
};