kangax / kangax/html-minifier

minifyJS not working when use const let

Open
#1,077 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5k
Forks
577
PR merge metrics
No merged PRs in 30d

Description

inline javascript minify in tag is not working when use const or let but when i change to var it's work fine

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by creating a minimal reproduction for an inline using const or let, since the issue gives no version, file, or test case. Compare minification with the same code using var, then add a regression test showing that const and let are processed successfully and preserve valid output.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.