server/settings/webpack.js
John Molakvoæ (skjnldsv) b53a9130a6
Unify webpack config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-29 15:19:18 +02:00

19 lines
503 B
JavaScript

const path = require('path')
module.exports = {
entry: {
'settings-apps-users-management': path.join(__dirname, 'src', 'main-apps-users-management'),
'settings-admin-security': path.join(__dirname, 'src', 'main-admin-security'),
'settings-personal-security': path.join(__dirname, 'src', 'main-personal-security')
},
output: {
path: path.resolve(__dirname, './js'),
publicPath: '/',
filename: 'vue-[name].js'
},
optimization: {
splitChunks: {
automaticNameDelimiter: '-',
}
}
}