Skip to content

Commit

Permalink
Merge pull request #22395 from nextcloud/fix/settings-chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Sep 10, 2020
2 parents 92cde8b + b8c3ee5 commit be9dde8
Show file tree
Hide file tree
Showing 29 changed files with 32 additions and 34 deletions.
1 change: 0 additions & 1 deletion apps/settings/js/vue-0.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions apps/settings/js/vue-5.js

This file was deleted.

1 change: 0 additions & 1 deletion apps/settings/js/vue-5.js.map

This file was deleted.

1 change: 0 additions & 1 deletion apps/settings/js/vue-6.js.map

This file was deleted.

1 change: 0 additions & 1 deletion apps/settings/js/vue-7.js.map

This file was deleted.

1 change: 0 additions & 1 deletion apps/settings/js/vue-8.js.map

This file was deleted.

1 change: 0 additions & 1 deletion apps/settings/js/vue-9.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion apps/settings/js/vue-settings-admin-security.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/settings/js/vue-settings-admin-security.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions apps/settings/js/vue-settings-apps-users-management.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/settings/js/vue-settings-apps-users-management.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/settings/js/vue-settings-nextcloud-pdf.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/settings/js/vue-settings-nextcloud-pdf.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/settings/js/vue-settings-personal-security.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/settings/js/vue-settings-personal-security.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/settings/js/vue-settings-personal-webauthn.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/settings/js/vue-settings-personal-webauthn.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions apps/settings/src/router.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
Expand Down Expand Up @@ -26,8 +26,8 @@ import Router from 'vue-router'
import { generateUrl } from '@nextcloud/router'

// Dynamic loading
const Users = () => import('./views/Users')
const Apps = () => import('./views/Apps')
const Users = () => import(/* webpackChunkName: 'settings-users' */'./views/Users')
const Apps = () => import(/* webpackChunkName: 'settings-apps' */'./views/Apps')

Vue.use(Router)

Expand Down
9 changes: 5 additions & 4 deletions apps/settings/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ module.exports = {
output: {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
filename: 'vue-[name].js?v=[chunkhash]',
jsonpFunction: 'webpackJsonpSettings'
filename: 'vue-[name].js?v=[contenthash]',
chunkFilename: 'vue-[name]-[chunkhash].js?v=[contenthash]',
jsonpFunction: 'webpackJsonpSettings',
},
optimization: {
splitChunks: {
automaticNameDelimiter: '-',
}
}
},
},
}

0 comments on commit be9dde8

Please sign in to comment.