2021-11-08 18:06:53 +00:00
|
|
|
const prod = require('./webpack.prod.js')
|
|
|
|
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'),
|
2021-11-08 18:06:53 +00:00
|
|
|
resolve: {
|
|
|
|
extensions: ['.js'],
|
|
|
|
alias: {
|
|
|
|
// To override a template, use this syntax:
|
|
|
|
// 'templates/muc_sidebar.js': path.resolve(__dirname, 'custom/templates/muc_sidebar.js')
|
2021-11-09 09:55:12 +00:00
|
|
|
'templates/background_logo.js': path.resolve(__dirname, 'custom/templates/background_logo.js'),
|
2021-11-09 09:34:34 +00:00
|
|
|
'../sass/converse.scss': path.resolve(__dirname, 'custom/sass/livechat.scss')
|
2021-11-08 18:06:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|