FLUID-6573: UglifyJS does not work with ES6 syntax

Metadata

Source
FLUID-6573
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Ned Zimmerman
Reporter
Ned Zimmerman
Created
2020-11-05T08:35:34.933-0500
Updated
2024-07-22T10:35:17.276-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Infusion Builder

Description

The adoption of some ES6 syntax (notably the spread operator) in FLUID-6548 appears to be causing problems with UglifyJS, which does not support ES6. We'll need to explore alternatives; a potential option is Terser and grunt-terser.

Comments

  • Ned Zimmerman commented 2020-11-05T08:49:12.179-0500

    One note is that terser does not support a banner option.