Add webpack for js development

This commit is contained in:
Dale Davies
2022-02-07 11:04:54 +00:00
parent ebd25a67f7
commit 36f44fb266
7 changed files with 1071 additions and 0 deletions

10
webpack.config.js Normal file
View File

@@ -0,0 +1,10 @@
const path = require('path');
module.exports = {
mode: 'production',
entry: './jumpapp/assets/js/src/index.js',
output: {
filename: 'index.js',
path: path.resolve(__dirname, './jumpapp/assets/js/'),
},
};