peertube-plugin-livechat/conversejs/custom/webpack.livechat.js

17 lines
595 B
JavaScript
Raw Normal View History

const prod = require('./webpack.prod.js')
const { merge } = require('webpack-merge')
const path = require('path')
module.exports = merge(prod, {
entry: path.resolve(__dirname, 'custom/entry.js'),
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')
}
}
})