Adding custom webpack file for ConverseJS.
This commit is contained in:
13
conversejs/custom/webpack.livechat.js
Normal file
13
conversejs/custom/webpack.livechat.js
Normal file
@ -0,0 +1,13 @@
|
||||
const prod = require('./webpack.prod.js')
|
||||
const { merge } = require('webpack-merge')
|
||||
// const path = require('path')
|
||||
|
||||
module.exports = merge(prod, {
|
||||
resolve: {
|
||||
extensions: ['.js'],
|
||||
alias: {
|
||||
// To override a template, use this syntax:
|
||||
// 'templates/muc_sidebar.js': path.resolve(__dirname, 'custom/templates/muc_sidebar.js')
|
||||
}
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user