mirror of https://github.com/vector-im/riot-web
Update webpack.config.js
Co-authored-by: Germain <germain@souquet.com>pull/18318/head
parent
da4a49fd31
commit
88df5c33a9
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue