2019-05-23 18:03:04 +03:00
|
|
|
const path = require('path');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
entry: {
|
|
|
|
'sidebar': path.join(__dirname, 'src', 'sidebar.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',
|
|
|
|
chunkFilename: 'files.[id].js'
|
|
|
|
}
|
|
|
|
}
|