Skip to content

Commit c93e982

Browse files
committed
fix: enable deploy for apps
1 parent 2cf12e1 commit c93e982

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

angular/app-types/angular-app-type/angular.application.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ import {
1010
AppBuildContext,
1111
AppContext,
1212
Application,
13-
ApplicationInstance
13+
ApplicationInstance,
14+
DeployFn
1415
} from '@teambit/application';
1516
import { Bundler, BundlerContext, DevServerContext } from '@teambit/bundler';
1617
import { Component } from '@teambit/component';
@@ -37,12 +38,14 @@ const writeHash = new Map<string, string>();
3738
export class AngularApp implements Application {
3839
readonly name: string;
3940
readonly idName: string;
41+
readonly deploy?: DeployFn;
4042

4143
constructor(
4244
readonly options: AngularAppOptions
4345
) {
4446
this.name = options.name || NG_APP_NAME;
4547
this.idName = `bitdev.angular/${ this.name }`;
48+
this.deploy = options.deploy;
4649
}
4750

4851
readonly publicDir = 'public';

0 commit comments

Comments
 (0)