Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Commit f51709b

Browse files
committed
chore(): build core not in prod mode
1 parent 4bb9a98 commit f51709b

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"scripts": {
2020
"build": "ng build core && ng build google-maps",
2121
"build:prod": "ng build core --prod && ng build google-maps --prod",
22-
"gh-pages": "ng build core --prod && ionic build --base-href 'https://fivethree-team.github.io/fivethree/' && npx ngh --dir=www",
22+
"gh-pages": "ng build core && ng build --base-href 'https://fivethree-team.github.io/fivethree/' && npx ngh --dir=www",
2323
"publish": "npm publish dist/core",
2424
"rocket": "npm run build:prod && npm run publish",
2525
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"

src/app/components/components.module.ts

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import { LottieAnimationViewModule } from 'ng-lottie';
3131
FooterComponent,
3232
FivethreeCoreModule,
3333
LottieAnimationViewModule,
34-
TranslateModule,
3534
MarkdownModule
3635
]
3736
})

src/app/pages/getting-started/getting-started.module.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { Routes, RouterModule } from '@angular/router';
77
import { IonicModule } from '@ionic/angular';
88

99
import { GettingStartedPage } from './getting-started.page';
10+
import { TranslateModule } from '@ngx-translate/core';
1011

1112
const routes: Routes = [
1213
{
@@ -21,7 +22,8 @@ const routes: Routes = [
2122
FormsModule,
2223
IonicModule,
2324
RouterModule.forChild(routes),
24-
ComponentsModule
25+
ComponentsModule,
26+
TranslateModule.forChild()
2527
],
2628
declarations: [GettingStartedPage]
2729
})

src/app/pages/home/home.module.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { Routes, RouterModule } from '@angular/router';
77
import { IonicModule } from '@ionic/angular';
88

99
import { HomePage } from './home.page';
10+
import { TranslateModule } from '@ngx-translate/core';
1011

1112
const routes: Routes = [
1213
{
@@ -21,7 +22,8 @@ const routes: Routes = [
2122
FormsModule,
2223
IonicModule,
2324
RouterModule.forChild(routes),
24-
ComponentsModule
25+
ComponentsModule,
26+
TranslateModule.forChild()
2527
],
2628
declarations: [HomePage]
2729
})

0 commit comments

Comments
 (0)