mirror of
https://github.com/withastro/astro.git
synced 2025-03-10 23:01:26 -05:00
Fix: Adds clarity around output setting log statement (#13212)
* log to clarify buildOutput and output build command * adds changelog * labels log statement of what it is internally Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * fix log --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
This commit is contained in:
parent
9b65e1b359
commit
fb3884074f
2 changed files with 7 additions and 1 deletions
5
.changeset/quiet-swans-tickle.md
Normal file
5
.changeset/quiet-swans-tickle.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
An additional has been added during the build command to add clarity around output and buildOutput.
|
|
@ -174,7 +174,8 @@ class AstroBuilder {
|
|||
await runHookBuildStart({ config: this.settings.config, logging: this.logger });
|
||||
this.validateConfig();
|
||||
|
||||
this.logger.info('build', `output: ${blue('"' + this.settings.buildOutput + '"')}`);
|
||||
this.logger.info('build', `output: ${blue('"' + this.settings.config.output + '"')}`);
|
||||
this.logger.info('build', `mode: ${blue('"' + (this.settings.buildOutput) + '"')}`);
|
||||
this.logger.info('build', `directory: ${blue(fileURLToPath(this.settings.config.outDir))}`);
|
||||
if (this.settings.adapter) {
|
||||
this.logger.info('build', `adapter: ${green(this.settings.adapter.name)}`);
|
||||
|
|
Loading…
Add table
Reference in a new issue