Update webpack.config.js

Co-authored-by: Germain <germain@souquet.com>
This commit is contained in:
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

View file

@ -42,7 +42,7 @@ function getActiveThemes() {
const theme = MATRIX_THEMES ?? 'light';
const themes = theme.split(',').filter(x => x).map(x => x.trim()).filter(x => x);
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;
}