Skip to content

Synchronous minification #195

@tomherni

Description

@tomherni

It would be great if html-minifier-terser could run synchronously. I run a bunch of optimizations, and html-minifier-terser is the only one that is async. Having a synchronous version would sligthly simplify my setup.

This request was raised a few years ago (#78), but closed because Terser was async. However, Terser introduced minify_sync() as a synchronous alternative to minify() in v5.27.0.

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