Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set maximum line length for all minification processes #190

Open
manolisss opened this issue Oct 15, 2024 · 1 comment
Open

Set maximum line length for all minification processes #190

manolisss opened this issue Oct 15, 2024 · 1 comment
Assignees
Labels
Type: Question Request for information.

Comments

@manolisss
Copy link

❓ 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.

@manolisss manolisss added the Type: Question Request for information. label Oct 15, 2024
Copy link

welcome bot commented Oct 15, 2024

Thanks for opening your first issue in Josee9988/project-template! Be sure to follow the issue template and provide every bit of information to help the developers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Request for information.
Projects
None yet
Development

No branches or pull requests

2 participants