2019-02-15 11:10:07 +03:00
|
|
|
const path = require('path');
|
|
|
|
|
|
|
|
module.exports = {
|
2019-02-20 20:40:02 +03:00
|
|
|
entry: {
|
|
|
|
'additionalScripts': path.join(__dirname, 'src', 'additionalScripts.js'),
|
2019-03-14 16:42:42 +03:00
|
|
|
'collaboration': path.join(__dirname, 'src', 'collaborationresourceshandler.js'),
|
2019-11-08 11:29:20 +03:00
|
|
|
'files_sharing_tab': path.join(__dirname, 'src', 'files_sharing_tab.js'),
|
|
|
|
'files_sharing': path.join(__dirname, 'src', 'files_sharing.js'),
|
|
|
|
'main': path.join(__dirname, 'src', 'index.js'),
|
2019-02-21 15:41:38 +03:00
|
|
|
},
|
2019-02-15 11:10:07 +03:00
|
|
|
output: {
|
2019-02-20 20:40:02 +03:00
|
|
|
path: path.resolve(__dirname, './js/dist/'),
|
2019-02-15 11:10:07 +03:00
|
|
|
publicPath: '/js/',
|
2019-02-20 20:40:02 +03:00
|
|
|
filename: '[name].js',
|
2019-09-03 11:55:06 +03:00
|
|
|
chunkFilename: 'files_sharing.[id].js?v=[chunkhash]',
|
|
|
|
jsonpFunction: 'webpackJsonpFilesSharing'
|
2019-05-24 15:08:39 +03:00
|
|
|
}
|
|
|
|
}
|