mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 20:02:40 +08:00
With the `application` builder already within the new `@angular/build` package, the Vite-based `dev-server` builder is now also contained within this package. Only the Vite-based aspects of the `dev-server` have been moved and only the support for the `application` builder. The compatibility builder `browser-esbuild` is not supported with `@angular/build:dev-server`. The existing `dev-server` builder found within `@angular-devkit/build-angular` should continue to be used for both the Webpack-based `browser` builder and the esbuild-based compatibility `browser-esbuild` builder. To maintain backwards compatibility, the existing `@angular-devkit/build-angular:dev-server` builder continues to support builders it has previously. No change to existing applications is required.
19 lines
681 B
TypeScript
19 lines
681 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
import { DevServerBuilderOutput } from '@angular/build';
|
|
import { createBuilder } from '@angular-devkit/architect';
|
|
import { execute } from './builder';
|
|
import { Schema as DevServerBuilderOptions } from './schema';
|
|
|
|
export { DevServerBuilderOptions, DevServerBuilderOutput, execute as executeDevServerBuilder };
|
|
export default createBuilder<DevServerBuilderOptions, DevServerBuilderOutput>(execute);
|
|
|
|
// Temporary export to support specs
|
|
export { execute as executeDevServer };
|