2021-03-17 10:25:31 +03:00
|
|
|
const path = require('path')
|
2019-05-23 18:03:04 +03:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
entry: {
|
2021-01-14 15:31:15 +03:00
|
|
|
sidebar: path.join(__dirname, 'src', 'sidebar.js'),
|
|
|
|
templates: path.join(__dirname, 'src', 'templates.js'),
|
2020-02-26 18:22:57 +03:00
|
|
|
'files-app-settings': path.join(__dirname, 'src', 'files-app-settings.js'),
|
2019-10-29 14:22:15 +03:00
|
|
|
'personal-settings': path.join(__dirname, 'src', 'main-personal-settings.js'),
|
2019-05-23 18:03:04 +03:00
|
|
|
},
|
|
|
|
output: {
|
|
|
|
path: path.resolve(__dirname, './js/dist/'),
|
|
|
|
publicPath: '/js/',
|
|
|
|
filename: '[name].js',
|
2021-03-17 10:25:31 +03:00
|
|
|
chunkFilename: 'files.[id].js',
|
|
|
|
},
|
2019-05-23 18:03:04 +03:00
|
|
|
}
|