Heartbeat minified JS has duplicate/debug comments that can be stripped from production

RESOLVED FIXED

Status

()

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: jaws, Assigned: glind)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Loading view-source:https://self-repair.mozilla.org/en-US/repair/index.js shows the following comment twice:

/**!
	  About this module:
	
	  Runner
	  repair list // Should move?
	  Main loop
	
	  This is is the output target for webpack
	*/

It looks like the actual JS is not duplicated. We should remove these comments from the production output though.
Explanation:  Babel by default leaves comments alone.  Agree, will fix. 

opened as:  https://github.com/mozilla/self-repair-server/issues/124
Assignee: nobody → glind
fixed at:  https://github.com/mozilla/self-repair-server/commit/17216b2826bdfd78ecd702b95d0d7b95a65a3a10
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.