Charles Lyding 66a33c62e8 refactor(@angular-devkit/build-angular): extract option processing for dev server builder
To provide support for additional development server integration, the `dev-server` builder's
option processing has been reorganized into separate files. The main builder bootstrapping
logic has also been separated into another file. This additionally helps reduce the overall
size of the main Webpack-based development server file.
2023-03-28 14:44:41 +00:00

61 lines
1.3 KiB
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
*/
export * from './transforms';
export {
AssetPattern,
AssetPatternClass as AssetPatternObject,
Budget,
CrossOrigin,
FileReplacement,
OptimizationClass as OptimizationObject,
OptimizationUnion,
OutputHashing,
Schema as BrowserBuilderOptions,
SourceMapClass as SourceMapObject,
SourceMapUnion,
StylePreprocessorOptions,
Type,
} from './builders/browser/schema';
export {
buildWebpackBrowser as executeBrowserBuilder,
BrowserBuilderOutput,
} from './builders/browser';
export {
executeDevServerBuilder,
DevServerBuilderOptions,
DevServerBuilderOutput,
} from './builders/dev-server';
export {
execute as executeExtractI18nBuilder,
ExtractI18nBuilderOptions,
} from './builders/extract-i18n';
export {
execute as executeKarmaBuilder,
KarmaBuilderOptions,
KarmaConfigOptions,
} from './builders/karma';
export {
execute as executeProtractorBuilder,
ProtractorBuilderOptions,
} from './builders/protractor';
export {
execute as executeServerBuilder,
ServerBuilderOptions,
ServerBuilderOutput,
} from './builders/server';
export { execute as executeNgPackagrBuilder, NgPackagrBuilderOptions } from './builders/ng-packagr';