We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8213432 commit ac2e701Copy full SHA for ac2e701
src/deploy/builder.ts
@@ -16,6 +16,13 @@ import { BuildTarget } from '../interfaces';
16
// https://github.com/angular/angularfire/blob/master/src/schematics/deploy/builder.ts
17
export default createBuilder(
18
async (options: Schema, context: BuilderContext): Promise<BuilderOutput> => {
19
+ // browserTarget was removed in Angular 19, we require Angular 18+
20
+ if ((options as Record<string, unknown>).browserTarget) {
21
+ context.logger.error('❌ The "browserTarget" option is not supported.');
22
+ context.logger.error(' Use "buildTarget" instead.');
23
+ return { success: false };
24
+ }
25
+
26
if (!context.target) {
27
throw new Error('Cannot deploy the application without a target');
28
}
0 commit comments