mirror of
https://github.com/nextcloud/server.git
synced 2024-08-28 17:55:03 +02:00
20 lines
431 B
JavaScript
20 lines
431 B
JavaScript
const path = require('path')
|
|
|
|
module.exports = {
|
|
entry: {
|
|
dashboard: path.join(__dirname, 'src', 'dashboard'),
|
|
'user-status-menu': path.join(__dirname, 'src', 'main-user-status-menu'),
|
|
},
|
|
output: {
|
|
path: path.resolve(__dirname, './js'),
|
|
publicPath: '/js/',
|
|
filename: '[name].js?v=[chunkhash]',
|
|
jsonpFunction: 'webpackJsonpUserStatus',
|
|
},
|
|
optimization: {
|
|
splitChunks: {
|
|
automaticNameDelimiter: '-',
|
|
},
|
|
},
|
|
}
|