2022-10-31 16:27:46 +00:00
|
|
|
const prod = require('./webpack/webpack.build.js')
|
2021-11-08 18:06:53 +00:00
|
|
|
const { merge } = require('webpack-merge')
|
2021-11-08 18:39:51 +00:00
|
|
|
const path = require('path')
|
2021-11-08 18:06:53 +00:00
|
|
|
|
|
|
|
module.exports = merge(prod, {
|
2021-11-08 18:39:51 +00:00
|
|
|
entry: path.resolve(__dirname, 'custom/entry.js'),
|
2022-10-31 16:27:46 +00:00
|
|
|
output: {
|
|
|
|
filename: 'converse.min.js'
|
|
|
|
},
|
2021-11-08 18:06:53 +00:00
|
|
|
resolve: {
|
|
|
|
extensions: ['.js'],
|
|
|
|
alias: {
|
2022-01-07 18:20:28 +00:00
|
|
|
'./templates/muc-bottom-panel.js': path.resolve('custom/templates/muc-bottom-panel.js'),
|
2021-12-06 13:47:34 +00:00
|
|
|
'../../templates/background_logo.js$': path.resolve(__dirname, 'custom/templates/background_logo.js'),
|
2022-01-03 13:54:04 +00:00
|
|
|
'shared/styles/index.scss$': path.resolve(__dirname, 'custom/shared/styles/livechat.scss')
|
2021-11-08 18:06:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|