mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
Remove debug logging
This commit is contained in:
parent
2b4a7f05a6
commit
2cfd08e500
@ -103,7 +103,6 @@ module.exports = function buildThemes(options) {
|
||||
if (isDevelopment) { return; }
|
||||
const { themeConfig } = options;
|
||||
for (const [name, location] of Object.entries(themeConfig.themes)) {
|
||||
console.log('build', location);
|
||||
manifest = require(`${location}/manifest.json`);
|
||||
variants = manifest.values.variants;
|
||||
for (const [variant, details] of Object.entries(variants)) {
|
||||
@ -143,7 +142,6 @@ module.exports = function buildThemes(options) {
|
||||
|
||||
async load(id) {
|
||||
if (isDevelopment) {
|
||||
//console.log('load', id);
|
||||
/**
|
||||
* To load the theme during dev, we need to take a different approach because emitFile is not supported in dev.
|
||||
* We solve this by resolving virtual file "@theme/name/variant" into the necessary css import.
|
||||
|
Loading…
Reference in New Issue
Block a user