Skip to content

faster with ng serve using native esm #22053

@John0King

Description

@John0King

🚀 Feature request

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • extract-i18n
  • run
  • config
  • help
  • version
  • doc

Description

Angular CLI: 12.2.12
Node: 14.18.1
Package Manager: yarn 1.22.11
OS: win32 x64

today with a simple app created by ng new, it take 19+second to complete with ng server , that feel really slower.


update: cold ng s(eg. first time build) take about 1min10s to complete on a HDD disk, 19s is for sub sequence ng s.

Describe the solution you'd like

May take advantage of native esm instead of compile all the dependencies

Describe alternatives you've considered

anything that can may ng serve faster on windows,
ng build normally only effect release , but ng serve about about develop time , a reasonable time is <= 6s

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions