Update webpack.config.js

Co-authored-by: Germain <germain@souquet.com>
pull/18318/head
Dariusz Niemczyk 2021-08-02 11:09:10 +02:00 committed by Dariusz Niemczyk
parent da4a49fd31
commit 88df5c33a9
No known key found for this signature in database
GPG Key ID: 0AD2F70C94CA5B03
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ function getActiveThemes() {
const theme = MATRIX_THEMES ?? 'light'; const theme = MATRIX_THEMES ?? 'light';
const themes = theme.split(',').filter(x => x).map(x => x.trim()).filter(x => x); const themes = theme.split(',').filter(x => x).map(x => x.trim()).filter(x => x);
if (themes.length > 1) { if (themes.length > 1) {
throw new Error('Please see `.env.example` for proper hotreload&themes configuation.'); throw new Error('Please see `.env.example` for proper hot reload & themes configuration.');
} }
return themes; return themes;
} }