1
- import { normalizeExtraEntryPoints } from '@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/utils' ;
2
1
import { AssetPatternClass } from '@angular-devkit/build-angular/src/browser/schema' ;
2
+ import { normalizeExtraEntryPoints } from '@angular-devkit/build-angular/src/webpack/utils/helpers' ;
3
3
import { getSystemPath , join , normalize } from '@angular-devkit/core' ;
4
4
import { writeFileSync } from 'fs' ;
5
5
import { posix , resolve } from 'path' ;
@@ -71,14 +71,12 @@ export function prepareBrowserConfig(
71
71
optionsStarter . scripts . push ( {
72
72
input : configPath ,
73
73
bundleName : 'consolelogs' ,
74
- lazy : false ,
75
74
} ) ;
76
75
optionsStarter . scripts . push ( {
77
76
input : getSystemPath (
78
77
join ( normalize ( __dirname ) , '../../assets' , normalize ( 'consolelogs.js' ) )
79
78
) ,
80
79
bundleName : 'consolelogs' ,
81
- lazy : false ,
82
80
} ) ;
83
81
}
84
82
@@ -89,7 +87,6 @@ export function prepareBrowserConfig(
89
87
join ( normalize ( __dirname ) , '../../assets' , normalize ( 'cordova.js' ) )
90
88
) ,
91
89
bundleName : 'cordova' ,
92
- lazy : false ,
93
90
} ) ;
94
91
}
95
92
} else if ( options . cordovaAssets ) {
@@ -115,7 +112,6 @@ export function prepareBrowserConfig(
115
112
optionsStarter . scripts . push ( {
116
113
input : getSystemPath ( join ( platformWWWPath , normalize ( 'cordova.js' ) ) ) ,
117
114
bundleName : 'cordova' ,
118
- lazy : false ,
119
115
} ) ;
120
116
}
121
117
}
@@ -155,13 +151,12 @@ export function prepareServerConfig(
155
151
configPath ,
156
152
`window.Ionic = window.Ionic || {}; Ionic.ConsoleLogServerConfig = { wsPort: ${ options . consolelogsPort } }`
157
153
) ;
158
- scripts . push ( { input : configPath , bundleName : 'consolelogs' , lazy : false } ) ;
154
+ scripts . push ( { input : configPath , bundleName : 'consolelogs' } ) ;
159
155
scripts . push ( {
160
156
input : getSystemPath (
161
157
join ( normalize ( __dirname ) , '../../assets' , normalize ( 'consolelogs.js' ) )
162
158
) ,
163
159
bundleName : 'consolelogs' ,
164
- lazy : false ,
165
160
} ) ;
166
161
}
167
162
if ( options . cordovaMock ) {
@@ -170,7 +165,6 @@ export function prepareServerConfig(
170
165
join ( normalize ( __dirname ) , '../../assets' , normalize ( 'cordova.js' ) )
171
166
) ,
172
167
bundleName : 'cordova' ,
173
- lazy : false ,
174
168
} ) ;
175
169
} else if ( options . cordovaAssets ) {
176
170
const platformWWWPath = join (
@@ -185,7 +179,6 @@ export function prepareServerConfig(
185
179
scripts . push ( {
186
180
input : getSystemPath ( join ( platformWWWPath , normalize ( 'cordova.js' ) ) ) ,
187
181
bundleName : 'cordova' ,
188
- lazy : false ,
189
182
} ) ;
190
183
}
191
184
0 commit comments