Adding custom webpack file for ConverseJS.

This commit is contained in:
John Livingston
2021-11-08 19:06:53 +01:00
parent b0eadd577d
commit 9e640dd5bc
3 changed files with 30 additions and 2 deletions

View 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')
}
}
})