2021-03-31 13:15:40 +03:00
|
|
|
/**
|
|
|
|
* @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com>
|
|
|
|
*
|
|
|
|
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
|
|
* @author Jan C. Borchardt <hey@jancborchardt.net>
|
|
|
|
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
|
|
* @author Roeland Jago Douma <roeland@famdouma.nl>
|
|
|
|
*
|
|
|
|
* @license GNU AGPL version 3 or any later version
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License as
|
|
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Affero General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
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'),
|
2020-08-06 23:55:30 +03:00
|
|
|
'settings-personal-webauthn': path.join(__dirname, 'src', 'main-personal-webauth'),
|
|
|
|
'settings-nextcloud-pdf': path.join(__dirname, 'src', 'main-nextcloud-pdf'),
|
2021-06-04 05:46:39 +03:00
|
|
|
'settings-personal-info': path.join(__dirname, 'src', 'main-personal-info'),
|
2018-11-05 18:02:32 +03:00
|
|
|
},
|
|
|
|
output: {
|
|
|
|
path: path.resolve(__dirname, './js'),
|
2019-09-17 17:33:27 +03:00
|
|
|
publicPath: '/js/',
|
2020-08-24 17:23:57 +03:00
|
|
|
filename: 'vue-[name].js?v=[contenthash]',
|
|
|
|
chunkFilename: 'vue-[name]-[chunkhash].js?v=[contenthash]',
|
|
|
|
jsonpFunction: 'webpackJsonpSettings',
|
2018-11-05 18:02:32 +03:00
|
|
|
},
|
|
|
|
optimization: {
|
|
|
|
splitChunks: {
|
|
|
|
automaticNameDelimiter: '-',
|
2020-08-24 17:23:57 +03:00
|
|
|
},
|
|
|
|
},
|
2018-03-09 19:46:34 +03:00
|
|
|
}
|