2018-05-18 14:39:34 +00:00
|
|
|
const path = require('path')
|
2018-03-09 16:46:34 +00:00
|
|
|
|
|
|
|
module.exports = {
|
2018-11-05 15:02:32 +00:00
|
|
|
entry: {
|
2019-02-20 08:06:56 +00:00
|
|
|
'settings-apps-users-management': path.join(__dirname, 'src', 'main-apps-users-management'),
|
2019-02-26 18:43:59 +00:00
|
|
|
'settings-admin-security': path.join(__dirname, 'src', 'main-admin-security'),
|
|
|
|
'settings-personal-security': path.join(__dirname, 'src', 'main-personal-security')
|
2018-11-05 15:02:32 +00:00
|
|
|
},
|
|
|
|
output: {
|
|
|
|
path: path.resolve(__dirname, './js'),
|
2019-09-17 14:33:27 +00:00
|
|
|
publicPath: '/js/',
|
2019-09-03 08:55:06 +00:00
|
|
|
filename: 'vue-[name].js?v=[chunkhash]',
|
|
|
|
jsonpFunction: 'webpackJsonpSettings'
|
2018-11-05 15:02:32 +00:00
|
|
|
},
|
|
|
|
optimization: {
|
|
|
|
splitChunks: {
|
|
|
|
automaticNameDelimiter: '-',
|
|
|
|
}
|
|
|
|
}
|
2018-03-09 16:46:34 +00:00
|
|
|
}
|