Clearer messaging on building with no input file

This commit is contained in:
Adam Wathan 2020-07-28 08:22:53 -04:00
parent 92ffe40309
commit 46dab3b0d4

View file

@ -82,8 +82,9 @@ function buildToFile(compileOptions, startTime) {
utils.log()
utils.log(
emoji.go,
'Building...',
colors.file(inputFileSimplePath || 'defaults: @base, @components and @utilities.')
...(inputFileSimplePath
? ['Building:', colors.file(inputFileSimplePath)]
: ['Building from default CSS...', colors.info('(No input file provided)')])
)
return compile(compileOptions).then(result => {