From 849f77c2bb2e6cd8a61930302afbabd75663b4f8 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Mon, 30 Oct 2023 13:54:55 -0400 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20output=20`@config`=20in=20CSS?= =?UTF-8?q?=20file=20after=20a=20rebuild?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cli/build/plugin.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cli/build/plugin.js b/src/cli/build/plugin.js index f1fea4f90ee0..538ab565df8d 100644 --- a/src/cli/build/plugin.js +++ b/src/cli/build/plugin.js @@ -224,16 +224,16 @@ let state = { }, getContext({ createContext, cliConfigPath, root, result, content }) { + env.DEBUG && console.time('Searching for config') + let configPath = findAtConfigPath(root, result) ?? cliConfigPath + env.DEBUG && console.timeEnd('Searching for config') + if (this.context) { this.context.changedContent = this.changedContent.splice(0) return this.context } - env.DEBUG && console.time('Searching for config') - let configPath = findAtConfigPath(root, result) ?? cliConfigPath - env.DEBUG && console.timeEnd('Searching for config') - env.DEBUG && console.time('Loading config') let config = this.loadConfig(configPath, content) env.DEBUG && console.timeEnd('Loading config')