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