Skip to content

Commit

Permalink
fix: enable deploy for apps
Browse files Browse the repository at this point in the history
  • Loading branch information
ocombe committed Feb 5, 2024
1 parent 2cf12e1 commit c93e982
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion angular/app-types/angular-app-type/angular.application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import {
AppBuildContext,
AppContext,
Application,
ApplicationInstance
ApplicationInstance,
DeployFn
} from '@teambit/application';
import { Bundler, BundlerContext, DevServerContext } from '@teambit/bundler';
import { Component } from '@teambit/component';
Expand All @@ -37,12 +38,14 @@ const writeHash = new Map<string, string>();
export class AngularApp implements Application {
readonly name: string;
readonly idName: string;
readonly deploy?: DeployFn;

constructor(
readonly options: AngularAppOptions
) {
this.name = options.name || NG_APP_NAME;
this.idName = `bitdev.angular/${ this.name }`;
this.deploy = options.deploy;
}

readonly publicDir = 'public';
Expand Down

0 comments on commit c93e982

Please sign in to comment.