@@ -67,7 +67,7 @@ export class PrepareController extends EventEmitter {
67
67
private $prepareNativePlatformService : IPrepareNativePlatformService ,
68
68
private $projectChangesService : IProjectChangesService ,
69
69
private $projectDataService : IProjectDataService ,
70
- private $webpackCompilerService : IWebpackCompilerService ,
70
+ private $bundlerCompilerService : IBundlerCompilerService ,
71
71
private $watchIgnoreListService : IWatchIgnoreListService ,
72
72
private $analyticsService : IAnalyticsService ,
73
73
private $markingModeService : IMarkingModeService ,
@@ -117,8 +117,8 @@ export class PrepareController extends EventEmitter {
117
117
this . watchersData [ projectDir ] [ platformLowerCase ] &&
118
118
this . watchersData [ projectDir ] [ platformLowerCase ] . hasWebpackCompilerProcess
119
119
) {
120
- await this . $webpackCompilerService . stopWebpackCompiler ( platformLowerCase ) ;
121
- this . $webpackCompilerService . removeListener (
120
+ await this . $bundlerCompilerService . stopBundlerCompiler ( platformLowerCase ) ;
121
+ this . $bundlerCompilerService . removeListener (
122
122
WEBPACK_COMPILATION_COMPLETE ,
123
123
this . webpackCompilerHandler ,
124
124
) ;
@@ -177,7 +177,7 @@ export class PrepareController extends EventEmitter {
177
177
prepareData ,
178
178
) ;
179
179
} else {
180
- await this . $webpackCompilerService . compileWithoutWatch (
180
+ await this . $bundlerCompilerService . compileWithoutWatch (
181
181
platformData ,
182
182
projectData ,
183
183
prepareData ,
@@ -296,15 +296,15 @@ export class PrepareController extends EventEmitter {
296
296
} ;
297
297
298
298
this . webpackCompilerHandler = handler . bind ( this ) ;
299
- this . $webpackCompilerService . on (
299
+ this . $bundlerCompilerService . on (
300
300
WEBPACK_COMPILATION_COMPLETE ,
301
301
this . webpackCompilerHandler ,
302
302
) ;
303
303
304
304
this . watchersData [ projectData . projectDir ] [
305
305
platformData . platformNameLowerCase
306
306
] . hasWebpackCompilerProcess = true ;
307
- await this . $webpackCompilerService . compileWithWatch (
307
+ await this . $bundlerCompilerService . compileWithWatch (
308
308
platformData ,
309
309
projectData ,
310
310
prepareData ,
@@ -560,7 +560,7 @@ export class PrepareController extends EventEmitter {
560
560
if ( this . pausedFileWatch ) {
561
561
for ( const watcher of watchers ) {
562
562
for ( const platform in watcher ) {
563
- await this . $webpackCompilerService . stopWebpackCompiler ( platform ) ;
563
+ await this . $bundlerCompilerService . stopBundlerCompiler ( platform ) ;
564
564
watcher [ platform ] . hasWebpackCompilerProcess = false ;
565
565
}
566
566
}
@@ -569,7 +569,7 @@ export class PrepareController extends EventEmitter {
569
569
for ( const platform in watcher ) {
570
570
const args = watcher [ platform ] . prepareArguments ;
571
571
watcher [ platform ] . hasWebpackCompilerProcess = true ;
572
- await this . $webpackCompilerService . compileWithWatch (
572
+ await this . $bundlerCompilerService . compileWithWatch (
573
573
args . platformData ,
574
574
args . projectData ,
575
575
args . prepareData ,
0 commit comments