const path = require('path');
module.exports = {
mode: 'development',
entry: {
footer: [
'./template/js_orig/jquery.js',
'./template/libs/tooltipster/js/tooltipster.bundle.min.js',
'./template/libs/jquery-confirm/jquery-confirm.min.js',
]
},
output: {
path: path.resolve(__dirname, 'dist'),
filename: '[name].bundle.js',
},
optimization: {
splitChunks: {
chunks: 'all',
name: 'shared'
}
}
}