Skip to content

Set maximum line length for all minification processes #190

Open
@manolisss

Description

@manolisss

❓ Question or Support Request

Describe your question or ask for support.

I am trying to set the maximum line length for minification process to 500 characters per line.
This is necessary as the website is used within an embedded system with limited resources.
I tried entering the following option but was not successful:
"format": { "max_line_len": 500 }

in settings.json
` "MinifyAll.terserMinifyOptions": {

    "mangle": true,
    "compress": {
        "drop_console": true,
        "dead_code": false,
        "keep_fnames": false,
        "keep_classnames": false
    },
    "format": {
        "max_line_len": 500
    }

}`

I want this to have an effect when minifying html, js or css files or snippets.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions