Add webpack entrypoint script

This commit is contained in:
2021-12-03 04:25:18 +01:00
parent 263b911363
commit a49b8b75e5
2 changed files with 7 additions and 0 deletions
View File
+7
View File
@@ -1,5 +1,12 @@
const path = require('path');
module.exports = {
entry: './web/index.js',
output: {
clean: true,
filename: 'js-bin/app.js',
path: path.resolve(__dirname, 'out'),
},
module: {
},
};