Skip to content

Configurable build stats column width #5749

Closed
@599316527

Description

@599316527

What problem does this feature solve?

const ui = require('cliui')({ width: 80 })

The default width (80) is too narrow to place filename with prefix like dist/projectName.umd.min.venders~ of split code and filenames are forced to break to the next line even though there are enough space at the right side of rows.

With a configuration for the width, I can adjust it to fit my terminal's width.

What does the proposed API look like?

{width: process.env.VUE_CLI_BUILD_STATS_CLOUMN_WIDTH || 80}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions