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

143
Views
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 answers
Answer question

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 Report

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 Report
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!