Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

117
Vistas
Google Closure Compiler not consistent between UI and application

I have a file hello-world.iife.js, which is a bundled Preact widget.

When I compile hello-world.iife.js with https://closure-compiler.appspot.com/home, I can use it in Firefox 5.

When I compile hello-world.iife.js through either google-closure-compiler npm package, the .jar application provided by Google, or even a community maintained Rollup plugin (based on google-closure-compiler), the code does not work in Firefox 5 (although the code is compiled successfully).

The code I get from the two different methods of compilation is different (which shouldn't be if I'm using the same settings, right?). What am I missing?

The script that I'm using to compile the JavaScript using the .jar is java -jar compiler.jar --js dist/preact-hello.iife.js --js_output_file hello-compiled.js --compilation_level SIMPLE

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda