Skip to content

Flat modules for ionic/angular #17001

Closed
Closed

Description

@manucorporat
  • Ship fesm5.js (es5) legacy build
  • Ship fesm2015.js (es2017) modern build
  • Use angular's flatModule feature, exporting a single .metadata.json file

https://github.com/angular/angular/blob/f5471107d94a5a2ec9d024e076cc4f1a4882013f/packages/core/tsconfig-build.json#L28-L29

GOAL:

  • Speed up build using ionic/angular
  • Reduce webpack overhead
  • Improve treeshakability
  • Ship untranspiled async/await and classes for modern build

Activity

  1. self-assigned this
    on Jan 8, 2019
  2. adamduren commented on Jan 8, 2019

    @adamduren
    Contributor

    @manucorporat did this PR have the desired effect of reducing build times? Would you mind sharing any stats?

  3. tonyawad88 commented on Jan 11, 2019

    @tonyawad88

    @manucorporat #16979 great job! thank you, the compile time has improved by about 2 seconds for me, much more acceptable. Any ideas if there's time for another round of optimizations before the final release?

  4. ionitron-bot commented on Feb 10, 2019

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  5. locked and limited conversation to collaborators on Feb 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions