serve.d.ts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /**
  2. * Builds and serves your app, rebuilding on file changes.
  3. */
  4. export interface Schema {
  5. /**
  6. * **EXPERIMENTAL** Output file path for Build Event Protocol events
  7. */
  8. buildEventLog?: string;
  9. /**
  10. * A named build target, as specified in the "configurations" section of angular.json.
  11. * Each named target is accompanied by a configuration of option defaults for that target.
  12. * Setting this explicitly overrides the "--prod" flag
  13. */
  14. configuration?: string;
  15. /**
  16. * Shows a help message for this command in the console.
  17. */
  18. help?: HelpUnion;
  19. /**
  20. * Shorthand for "--configuration=production".
  21. * When true, sets the build configuration to the production target.
  22. * By default, the production target is set up in the workspace configuration such that all
  23. * builds make use of bundling, limited tree-shaking, and also limited dead code elimination.
  24. */
  25. prod?: boolean;
  26. /**
  27. * The name of the project to build. Can be an application or a library.
  28. */
  29. project?: string;
  30. }
  31. /**
  32. * Shows a help message for this command in the console.
  33. */
  34. export declare type HelpUnion = boolean | HelpEnum;
  35. export declare enum HelpEnum {
  36. HelpJson = "JSON",
  37. Json = "json"
  38. }