summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/webpack.js
blob: 3fc0628b20233ad805b08d6663c69407c69751f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const path = require('path');

module.exports = {
	entry: {
		'additionalScripts': path.join(__dirname, 'src', 'additionalScripts.js'),
		'files_sharing': path.join(__dirname, 'src', 'files_sharing.js'),
		'collaboration': path.join(__dirname, 'src', 'collaborationresourceshandler.js'),
	},
	output: {
		path: path.resolve(__dirname, './js/dist/'),
		publicPath: '/js/',
		filename: '[name].js',
		chunkFilename: 'files_sharing.[id].js?v=[chunkhash]',
		jsonpFunction: 'webpackJsonpFilesSharing'
	}
}