server/apps/settings/webpack.js
Christoph Wurst de6940352a Move settings to an app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-28 09:39:28 +00:00

20 lines
561 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: '/js/',
filename: 'vue-[name].js?v=[chunkhash]',
jsonpFunction: 'webpackJsonpSettings'
},
optimization: {
splitChunks: {
automaticNameDelimiter: '-',
}
}
}