How to use the @angular-devkit/build-angular.executeDevServerBuilder function in @angular-devkit/build-angular

To help you get started, we’ve selected a few @angular-devkit/build-angular examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github BenjaminDobler / ngtron / builders / serve / index.js View on Github external
return rxjs_1.from(setup()).pipe(operators_1.switchMap(opt => {
        const webpackTransformFactory = util_1.noneElectronWebpackConfigTransformFactory;
        return build_angular_1.executeDevServerBuilder(opt.buildOptions, context, {
            webpackConfiguration: webpackTransformFactory(opt.buildOptions, opt.buildElectronOptions, context)
        });
    }), operators_1.filter((val, index) => index < 1), operators_1.tap((x) => console.log(x)), operators_1.mapTo({ success: true }));
};
github BenjaminDobler / ngtron / builders / serve / index.ts View on Github external
switchMap(opt => {
      const webpackTransformFactory = noneElectronWebpackConfigTransformFactory;

      return executeDevServerBuilder(opt.buildOptions as DevServerBuilderOptions, context, {
        webpackConfiguration: webpackTransformFactory(opt.buildOptions, opt.buildElectronOptions, context)
      });
    }),
    filter((val, index) => index < 1),
github angular-guru / electron-builder / src / electron-dev-server / index.ts View on Github external
export function buildElectronDevServer(options: any, context: BuilderContext): Observable {
  return executeDevServerBuilder(options, context, {
    webpackConfiguration: (config) => {
      return { ...config, target: 'electron-renderer' };
    }
  });
}
github just-jeb / angular-builders / packages / custom-webpack / src / dev-server / index.ts View on Github external
switchMap(customWebpackOptions =>
      executeDevServerBuilder(options, context, getTransforms(customWebpackOptions, context))
    )

@angular-devkit/build-angular

Angular Webpack Build Facade

MIT
Latest version published 3 days ago

Package Health Score

100 / 100
Full package analysis

Popular @angular-devkit/build-angular functions