-
Notifications
You must be signed in to change notification settings - Fork 12k
feat(@angular-devkit/build-angular): initial development server for esbuild-based builder #24923
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
Conversation
33d4afb
to
f149f16
Compare
packages/angular_devkit/build_angular/src/builders/dev-server/vite-server.ts
Outdated
Show resolved
Hide resolved
…sbuild-based builder When using the experimental esbuild-based browser application builder, the preexisting `dev-server` builder can now be used to execute the `ng serve` command with an esbuild bundled application. The `dev-server` builder provides an alternate development server that will execute the `browser-esbuild` builder to build the application and then serve the output files within a development server with live reload capabilities. This is an initial integration of the development server. It is not yet fully optimized and all features may not yet be supported. SSL, in particular, does not yet work. If already using the esbuild-based builder, no additional changes to the Angular configuration are required. The `dev-server` builder will automatically detect the application builder and use the relevent development server implementation. As the esbuild-based browser application builders is currently experimental, using the development server in this mode is also considered experimental.
f149f16
to
2f1aef0
Compare
Complex project of ours is tested and building fine with the experimental esbuild implementation to date, looking forward to testing this! |
Does it still support deployUrl? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
When using the experimental esbuild-based browser application builder, the preexisting
dev-server
builder can now be used to execute theng serve
command with an esbuild bundled application. Thedev-server
builder provides an alternate development server that will execute thebrowser-esbuild
builder to build the application and then serve the output files within a development server with live reload capabilities. This is an initial integration of the development server. It is not yet fully optimized and all features may not yet be supported. SSL, in particular, does not yet work.If already using the esbuild-based builder, no additional changes to the Angular configuration are required. The
dev-server
builder will automatically detect the application builder and use the relevent development server implementation. As the esbuild-based browser application builder is currently experimental, using the development server in this mode is also considered experimental.