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-12-06 13:47:34 +00:00
|
|
|
'../../templates/background_logo.js$': path.resolve(__dirname, 'custom/templates/background_logo.js'),
|
|
|
|
'./styles/index.scss$': path.resolve(__dirname, 'custom/shared/styles/livechat.scss')
|
2021-11-08 18:06:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|