babel / babel/minify

Feature Request: Added max line length

Open
#426 8 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
4.4k
Forks
217
PR merge metrics
No merged PRs in 30d

Description

This is a feature request for a max line length option. Uglify has a similar one available.

```JavaScript
var options = {
code: true,
comments: true,
presets: [
['babel-preset-babili', { maxLineLength: 500 }]
]
};
```

Contributor guide

Open the contributing guide

Research direction

Start by comparing Uglify’s max-line-length behavior with the babel-preset-babili configuration shown in the issue, then locate where preset options are accepted and passed to generated output. Define the option’s semantics and verify output against representative long lines; the issue names no repository files or tests, so those entry points must be found first.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, javascript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.