зеркало из https://github.com/nextcloud/notes.git
22 строки
453 B
JavaScript
22 строки
453 B
JavaScript
/**
|
|
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
const webpackConfig = require('@nextcloud/webpack-vue-config')
|
|
const path = require('path')
|
|
|
|
webpackConfig.entry.dashboard = path.join(__dirname, 'src', 'dashboard.js')
|
|
|
|
webpackConfig.optimization = {
|
|
splitChunks: {
|
|
cacheGroups: {
|
|
defaultVendors: {
|
|
name: 'commons',
|
|
}
|
|
},
|
|
},
|
|
}
|
|
|
|
module.exports = webpackConfig
|