1 | {"version":3,"file":"build.command.js","sourceRoot":"","sources":["../../../src/lib/commands/build.command.ts"],"names":[],"mappings":";;;AAAA,wCAAuC;AAmBvC;;;;GAIG;AACI,MAAM,KAAK,GAAgC,IAAI,CAAC,EAAE,CACvD,IAAA,mBAAS,GAAE,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;AADlG,QAAA,KAAK,SAC6F","sourcesContent":["import { ngPackagr } from '../packagr';\nimport { Command } from './command';\n\n/**\n * CLI arguments passed to `ng-packagr` executable and `build()` command.\n *\n * @stable\n */\nexport interface CliArguments {\n /** Path to the project file 'package.json', 'ng-package.json', or 'ng-package.js'. */\n project: string;\n /** Whether or not ng-packagr will watch for file changes and perform an incremental build. */\n watch?: boolean;\n /** Path to a tsconfig file. */\n config?: string;\n /** Enable and define the file watching poll time period in milliseconds */\n poll? : number;\n}\n\n/**\n * Command running an \"one-off\" build.\n *\n * @stable\n */\nexport const build: Command<CliArguments, void> = opts =>\n ngPackagr().forProject(opts.project).withTsConfig(opts.config).build({ watch: opts.watch, poll: opts.poll });\n"]} |