@@ -26,9 +26,7 @@ function getSource(skyAppConfig) {
26
26
27
27
// Any custom runtime components/directives to concat with user defined
28
28
// These should also be defined in runtimeImports
29
- const runtimeComponents = [
30
- 'SkyAppResourcesPipe'
31
- ] ;
29
+ const runtimeComponents = [ ] ;
32
30
33
31
const routes = routeGenerator . getRoutes ( skyAppConfig ) ;
34
32
const names = componentNames . concat ( routes . names , runtimeComponents ) ;
@@ -60,9 +58,7 @@ function getSource(skyAppConfig) {
60
58
provide: SkyAppAssetsService,
61
59
useClass: ${ assetsGenerator . getClassName ( ) }
62
60
}` ,
63
- 'SkyAppResourcesService' ,
64
- 'SkyAppViewportService' ,
65
- 'SkyAppHostLocaleProvider'
61
+ 'SkyAppViewportService'
66
62
] ;
67
63
68
64
let authTokenProvider = 'SkyAuthTokenProvider' ;
@@ -94,7 +90,8 @@ function getSource(skyAppConfig) {
94
90
] ;
95
91
96
92
let runtimeModuleExports = [
97
- ...names
93
+ ...names ,
94
+ 'SkyAppRuntimeModule'
98
95
] ;
99
96
100
97
let runtimeModuleImports = [
@@ -165,21 +162,9 @@ import {
165
162
AppExtrasModule
166
163
} from '${ skyAppConfig . runtime . skyPagesOutAlias } /src/app/app-extras.module';
167
164
import { ${ runtimeImports . join ( ', ' ) } } from '${ skyAppConfig . runtime . runtimeAlias } ';
168
- import { SkyAppRuntimeModule } from '${ skyAppConfig . runtime . runtimeAlias } ';
165
+ import { SkyAppRuntimeModule } from '${ skyAppConfig . runtime . runtimeAlias } /runtime.module ';
169
166
import { SkyAppAssetsService } from '${ skyAppConfig . runtime . runtimeAlias } /assets.service';
170
167
171
- import {
172
- SkyAppResourcesService
173
- } from '${ skyAppConfig . runtime . runtimeAlias } /i18n/resources.service';
174
-
175
- import {
176
- SkyAppResourcesPipe
177
- } from '${ skyAppConfig . runtime . runtimeAlias } /i18n/resources.pipe';
178
-
179
- import {
180
- SkyAppHostLocaleProvider
181
- } from '${ skyAppConfig . runtime . runtimeAlias } /i18n/host-locale-provider';
182
-
183
168
${ assetsGenerator . getSource ( ) }
184
169
185
170
${ routes . imports . join ( '\n' ) }
0 commit comments