2019-05-23 15:03:04 +00:00
|
|
|
const path = require('path');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
entry: {
|
|
|
|
'sidebar': path.join(__dirname, 'src', 'sidebar.js'),
|
2019-10-29 11:22:15 +00:00
|
|
|
'personal-settings': path.join(__dirname, 'src', 'main-personal-settings.js'),
|
2019-05-23 15:03:04 +00:00
|
|
|
},
|
|
|
|
output: {
|
|
|
|
path: path.resolve(__dirname, './js/dist/'),
|
|
|
|
publicPath: '/js/',
|
|
|
|
filename: '[name].js',
|
|
|
|
chunkFilename: 'files.[id].js'
|
|
|
|
}
|
|
|
|
}
|