Explore Help
Sign In
hanzoai/swc
Watch 2
Star 0
Fork 0
mirror of https://github.com/hanzoai/swc.git synced 2026-10-30 19:42:53 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
main
swc/crates/swc_html_minifier/tests/fixture/element/script-options-1
T
History
CPunisherandGitHub d04b9ba6b9 fix(es/minifier): Avoid const_to_let if reassigned (#11035)
**Description:**

I move the process of `const_to_let` from `postcompress` to `Optimizer`
because varinfo is need to check if the variable is reassigned.

I'm also curious why `const_to_let` is disabled in
https://github.com/swc-project/swc/pull/11035/files#diff-dd713fdbfb1b9c77d20d446319255c3d41a169213b8825f43aacc0ee04f4c90f

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/11034
2025-09-02 17:09:20 +09:00
..
config.json
feat(html/minifier): Allow specifying options for other tools (#5125)
2022-07-11 13:08:40 +00:00
input.html
feat(html/minifier): Allow specifying options for other tools (#5125)
2022-07-11 13:08:40 +00:00
output.min.html
fix(es/minifier): Avoid const_to_let if reassigned (#11035)
2025-09-02 17:09:20 +09:00

Sovereign AI engineering overlay across all your repositories. Fluid multi-git sync, high-velocity parallel CI/CD, and autonomous agent fleets.

Ecosystem

  • Enso Platform
  • Kai Models
  • Zen Runtime
  • Kata VM
  • Cloud Control
  • Agent Fleet

Forge

  • Repositories
  • Organizations
  • CTO Profile
  • Founder Profile
  • Architect Profile
  • Engineer Profile
  • Hanzo Core Org
  • Community Org

Developers

  • Documentation
  • API Reference
  • CLI Tooling
  • System Status
  • Hanzo Forge Source

Platform

  • About Hanzo
  • Careers
  • Security & Enclaves
  • Privacy Policy
  • Terms of Service
© 2026 Hanzo AI, Inc. All rights reserved. Hanzo Forge Sovereign Edition
All Systems Operational
Privacy Terms