Remove debug logging
This commit is contained in:
parent
2b4a7f05a6
commit
2cfd08e500
1 changed files with 0 additions and 2 deletions
|
@ -103,7 +103,6 @@ module.exports = function buildThemes(options) {
|
||||||
if (isDevelopment) { return; }
|
if (isDevelopment) { return; }
|
||||||
const { themeConfig } = options;
|
const { themeConfig } = options;
|
||||||
for (const [name, location] of Object.entries(themeConfig.themes)) {
|
for (const [name, location] of Object.entries(themeConfig.themes)) {
|
||||||
console.log('build', location);
|
|
||||||
manifest = require(`${location}/manifest.json`);
|
manifest = require(`${location}/manifest.json`);
|
||||||
variants = manifest.values.variants;
|
variants = manifest.values.variants;
|
||||||
for (const [variant, details] of Object.entries(variants)) {
|
for (const [variant, details] of Object.entries(variants)) {
|
||||||
|
@ -143,7 +142,6 @@ module.exports = function buildThemes(options) {
|
||||||
|
|
||||||
async load(id) {
|
async load(id) {
|
||||||
if (isDevelopment) {
|
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.
|
* 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.
|
* We solve this by resolving virtual file "@theme/name/variant" into the necessary css import.
|
||||||
|
|
Reference in a new issue