Skip to content

In babel-cli add a short log option when compiling #6303

@SamFromDaUk

Description

@SamFromDaUk

Choose one: is this a bug report or feature request? feature request

Input Code

N/A

Babel Configuration (.babelrc, package.json, cli command)

{
  "babel-cli": "^6.24.1"
}

node_modules/.bin/babel ./app/src -w -p -d ./app/scripts --modules amd --extensions '.es6,.jsx' --source-maps

Expected Behavior

When compiling a project with a large number of files there can be an excessive amount of logs produced.

The --quiet option removes all logs, however something in between may be of use. Perhaps a x of x files compiled or a percentage based option would be useful?

screen shot 2017-09-25 at 16 31 34

Current Behavior

For large projects either a large amount of logs are shown, or none at all with the --quiet option.

Possible Solution

Add another method of logging the progress of the compiler to show percentage complete or x of x compiled message.

Context

Build step of my project, I can choose between 500+ lines of output or 0.

Your Environment

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions