Skip to content

faster with ng serve using native esm #22053

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 15 tasks
John0King opened this issue Nov 2, 2021 · 10 comments
Closed
1 of 15 tasks

faster with ng serve using native esm #22053

John0King opened this issue Nov 2, 2021 · 10 comments
Labels
area: @angular-devkit/build-angular devkit/build-angular:dev-server feature: in backlog Feature request for which voting has completed and is now in the backlog feature Issue that requests a new feature
Milestone

Comments

@John0King
Copy link

John0King commented Nov 2, 2021

🚀 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

@alan-agius4
Copy link
Collaborator

Thanks for this feature request.

This is actually something that we have been discussing recently and is definitly on our radar of this we want to investigate in the near future.

@ngbot ngbot bot modified the milestone: Backlog Nov 2, 2021
@alan-agius4 alan-agius4 changed the title faster with ng serve faster with ng serve using native esm Nov 2, 2021
@Ottunger

This comment has been minimized.

@alan-agius4

This comment has been minimized.

@jpike88
Copy link

jpike88 commented Jan 17, 2022

@alan-agius4 I would very much appreciate if the Angular team could focus, as priority number 1, on improving the performance of ng build, serve, etc, they are crazy slow and need dire attention.

@angular-robot angular-robot bot added the feature: votes required Feature request which is currently still in the voting phase label Feb 1, 2022
@angular-robot
Copy link
Contributor

angular-robot bot commented Feb 1, 2022

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

@angular-robot
Copy link
Contributor

angular-robot bot commented Feb 22, 2022

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.

@angular-robot angular-robot bot added feature: insufficient votes Label to add when the not a sufficient number of votes or comments from unique authors and removed feature: votes required Feature request which is currently still in the voting phase labels Feb 22, 2022
@John0King
Copy link
Author

any progress on this ?

@alan-agius4 alan-agius4 added the feature: in backlog Feature request for which voting has completed and is now in the backlog label Jun 28, 2022
@alan-agius4 alan-agius4 removed the feature: insufficient votes Label to add when the not a sufficient number of votes or comments from unique authors label Nov 28, 2022
@muhamedkarajic
Copy link

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

Its probably not taking track cause the naming of the issue isn't obvious. I'm pretty sure a lot of people would like vite build like times.

@alan-agius4
Copy link
Collaborator

Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.

If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.

@alan-agius4 alan-agius4 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 24, 2023
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: @angular-devkit/build-angular devkit/build-angular:dev-server feature: in backlog Feature request for which voting has completed and is now in the backlog feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

5 participants