mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Update webpack.config.js
Co-authored-by: Germain <germain@souquet.com>
This commit is contained in:
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
Block a user