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

module.exports = {
	entry: {
		'sidebar': path.join(__dirname, 'src', 'sidebar.js'),
		'personal-settings': path.join(__dirname, 'src', 'main-personal-settings.js'),
	},
	output: {
		path: path.resolve(__dirname, './js/dist/'),
		publicPath: '/js/',
		filename: '[name].js',
		chunkFilename: 'files.[id].js'
	}
}