Fix webpack configuration on Windows

This commit is contained in:
Keith Maika 2022-01-07 20:31:43 -05:00 committed by JC Brand
parent bef2cbb462
commit cb0b1765f3
2 changed files with 4 additions and 3 deletions

View File

@ -3,10 +3,11 @@
## 9.0.1 (2021-??-??)
- Updated translations: lt
- Increased stanza timeout from 10 to 20 seconds
- #1761: Add a new dark theme based on the [Dracula](https://draculatheme.com/) theme
- #2751: Media not rendered when Converse runs in a browser extension
- #2786: Fix webpack configuration not working on Windows OS
- #2789: Implement new hook parseMessageForCommands for plugins to add custom
- Increased stanza timeout from 10 to 20 seconds
### New hooks and events

View File

@ -24,7 +24,7 @@ module.exports = {
module: {
rules: [
{
test: /LC_MESSAGES\/converse.po$/,
test: /LC_MESSAGES[\\/]converse.po$/,
type: "json",
use: [
{
@ -36,7 +36,7 @@ module.exports = {
}
]
}, {
test: /webfonts\/.*\.(woff(2)?|ttf|eot|truetype|svg)(\?v=\d+\.\d+\.\d+)?$/,
test: /webfonts[\\/].*\.(woff(2)?|ttf|eot|truetype|svg)(\?v=\d+\.\d+\.\d+)?$/,
use: [
{
loader: 'file-loader',