Skip to content

deps: JavaScript minification bug #14086

@jmooring

Description

@jmooring

This is an upstream issue with tdewolff/minify. The js.Build minify option works fine.

Problem originally reported here:
google/docsy#2345 (comment)

Example:

git clone --single-branch -b hugo-github-issue-14086 https://github.com/jmooring/hugo-testing hugo-github-issue-14086
cd hugo-github-issue-14086
npm ci
hugo server

With v0.151.2 (tdewolff/minify v2.24.3):

Image

With v0.152.1 (tdewolff/minify v2.24.4):

Image

Upstream issue: tdewolff/minify#863

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions