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