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

324
Vistas
ES2015 vs ESM2015

I want to understand the difference between ES2015 and ESM2015. I know that ES2015 is the ES^ standards but recently while compiling my Angular application using ng build I got the following : Compiling @angular/core : es2015 as esm2015

I want to know why ESM2015? Is it minified ES2015 files?

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

According to the documentation for Angular Package Format:

Short for ECMAScript Modules. A file containing statements that import and export symbols. This is identical to the definition of modules in the ECMAScript spec.

over 4 years ago · Santiago Trujillo Denunciar

0

When a project is compiled from es2015 to esm2015, like Compiling @angular/core : es2015 as esm2015

Basically it is still EcmaScript, but esm is based on modules "or packages", this allows to make some parts of the code independent from others.

Other differences between modules and standard scripts:

  • modules use strict mode automatically.
  • modules are deferred automatically (when are loading).
  • Modules are only executed once, even if they have been referenced in multiple tags.
  • Modules features are imported into the scope of a single script — they aren't available in the global scope.

more info here

over 4 years ago · Santiago Trujillo Denunciar
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