peertube-plugin-livechat/conversejs/custom/webpack.livechat.js
John Livingston a8200a5724
ConverseJS v10.0.0: checkout upstream
Using Converse v10.0.0. WIP
2022-10-31 17:39:08 +01:00

19 lines
622 B
JavaScript

const prod = require('./webpack/webpack.build.js')
const { merge } = require('webpack-merge')
const path = require('path')
module.exports = merge(prod, {
entry: path.resolve(__dirname, 'custom/entry.js'),
output: {
filename: 'converse.min.js'
},
resolve: {
extensions: ['.js'],
alias: {
'./templates/muc-bottom-panel.js': path.resolve('custom/templates/muc-bottom-panel.js'),
'../../templates/background_logo.js$': path.resolve(__dirname, 'custom/templates/background_logo.js'),
'shared/styles/index.scss$': path.resolve(__dirname, 'custom/shared/styles/livechat.scss')
}
}
})