Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

116
Views
How to remove important comments when using google closure compiler

I'm using CompilationLevel.SIMPLE_OPTIMIZATIONS

raw js:

/* aaaaaaaaaaa */
const arrA = [1, 2, 3];//some comments
const arrB = [...arrA, 4, 5];
/*! This is important */
const objA = {
     foo: "bar" //coments here
};
const objB = {
    ...objA,
    qaz: "wsx"
} 

after compiled:

/*
 This is important */
'use strict';const arrA=[1,2,3],arrB=[...arrA,4,5],objA={foo:"bar"},objB={...objA,qaz:"wsx"};

Can I set some option to force remove the important comments?

Thanks

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!