ClojureScript

Elide "use strict" from final output

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: 1.10.238
  • Fix Version/s: Next
  • Component/s: None
  • Labels:
  • Approval:
    Screened

Description

When concatenating scripts containing "use strict"; will globally apply. We should elide this in all cases where we concatenate JavaScript files. We should be careful to replace with equal length whitespace to prevent issues around source mapping. This should be default behavior. We could consider a compiler knob as a separate enhancement.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: