Update webpack.config.js
Co-authored-by: Germain <germain@souquet.com>
This commit is contained in:
parent
da4a49fd31
commit
88df5c33a9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue