Basic webpack

This commit is contained in:
Sidharth Vinod
2022-11-04 11:29:24 +05:30
parent 97a7f1fd71
commit 1e417833f4
5 changed files with 952 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
const path = require('path');
module.exports = {
entry: './src/index.js',
output: {
filename: 'main.js',
path: path.resolve(__dirname, 'dist'),
},
};