aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/webpack.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-09-17 16:33:27 +0200
committernpmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>2019-09-28 09:39:28 +0000
commitde6940352a2f708376219a89ec84a8e6d25ca59e (patch)
tree459bacfc183b24d611be1877fbe22bbcd4efb1d6 /apps/settings/webpack.js
parentc8cd607681ac128228f57114ce14dd67ab05de04 (diff)
downloadnextcloud-server-de6940352a2f708376219a89ec84a8e6d25ca59e.tar.gz
nextcloud-server-de6940352a2f708376219a89ec84a8e6d25ca59e.zip
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>
Diffstat (limited to 'apps/settings/webpack.js')
-rw-r--r--apps/settings/webpack.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/apps/settings/webpack.js b/apps/settings/webpack.js
new file mode 100644
index 00000000000..7c887861f1e
--- /dev/null
+++ b/apps/settings/webpack.js
@@ -0,0 +1,20 @@
+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: '-',
+ }
+ }
+}