Skip to content

Commit 5166a37

Browse files
committed
enable production build
1 parent 59eb85d commit 5166a37

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: npx @themost/peers
3737
- name: build library
3838
working-directory: build
39-
run: npm run ng build angular
39+
run: npm run ng build angular -- --prod
4040
- name: publish library
4141
working-directory: build/dist/angular
4242
run: npm publish --access=public

src/auth/auth-routing.module.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ const routes: Routes = [
2020
}
2121
];
2222

23+
export const authRouterModule = RouterModule.forChild(routes);
24+
2325
@NgModule({
24-
imports: [RouterModule.forChild(routes)],
26+
imports: [authRouterModule],
2527
exports: [RouterModule]
2628
})
2729
export class AuthRoutingModule { }

0 commit comments

Comments
 (0)