From cb0b1765f33b2eb959296339e902dd0252183c5a Mon Sep 17 00:00:00 2001 From: Keith Maika Date: Fri, 7 Jan 2022 20:31:43 -0500 Subject: [PATCH] Fix webpack configuration on Windows --- CHANGES.md | 3 ++- webpack/webpack.common.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 0d7e4c573..8a9db4e77 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js index 08e676c01..f82a2bc36 100644 --- a/webpack/webpack.common.js +++ b/webpack/webpack.common.js @@ -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',