@@ -67,7 +67,7 @@ export class PrepareController extends EventEmitter {
6767 private $prepareNativePlatformService : IPrepareNativePlatformService ,
6868 private $projectChangesService : IProjectChangesService ,
6969 private $projectDataService : IProjectDataService ,
70- private $webpackCompilerService : IWebpackCompilerService ,
70+ private $bundlerCompilerService : IBundlerCompilerService ,
7171 private $watchIgnoreListService : IWatchIgnoreListService ,
7272 private $analyticsService : IAnalyticsService ,
7373 private $markingModeService : IMarkingModeService ,
@@ -117,8 +117,8 @@ export class PrepareController extends EventEmitter {
117117 this . watchersData [ projectDir ] [ platformLowerCase ] &&
118118 this . watchersData [ projectDir ] [ platformLowerCase ] . hasWebpackCompilerProcess
119119 ) {
120- await this . $webpackCompilerService . stopWebpackCompiler ( platformLowerCase ) ;
121- this . $webpackCompilerService . removeListener (
120+ await this . $bundlerCompilerService . stopBundlerCompiler ( platformLowerCase ) ;
121+ this . $bundlerCompilerService . removeListener (
122122 WEBPACK_COMPILATION_COMPLETE ,
123123 this . webpackCompilerHandler ,
124124 ) ;
@@ -177,7 +177,7 @@ export class PrepareController extends EventEmitter {
177177 prepareData ,
178178 ) ;
179179 } else {
180- await this . $webpackCompilerService . compileWithoutWatch (
180+ await this . $bundlerCompilerService . compileWithoutWatch (
181181 platformData ,
182182 projectData ,
183183 prepareData ,
@@ -296,15 +296,15 @@ export class PrepareController extends EventEmitter {
296296 } ;
297297
298298 this . webpackCompilerHandler = handler . bind ( this ) ;
299- this . $webpackCompilerService . on (
299+ this . $bundlerCompilerService . on (
300300 WEBPACK_COMPILATION_COMPLETE ,
301301 this . webpackCompilerHandler ,
302302 ) ;
303303
304304 this . watchersData [ projectData . projectDir ] [
305305 platformData . platformNameLowerCase
306306 ] . hasWebpackCompilerProcess = true ;
307- await this . $webpackCompilerService . compileWithWatch (
307+ await this . $bundlerCompilerService . compileWithWatch (
308308 platformData ,
309309 projectData ,
310310 prepareData ,
@@ -560,7 +560,7 @@ export class PrepareController extends EventEmitter {
560560 if ( this . pausedFileWatch ) {
561561 for ( const watcher of watchers ) {
562562 for ( const platform in watcher ) {
563- await this . $webpackCompilerService . stopWebpackCompiler ( platform ) ;
563+ await this . $bundlerCompilerService . stopBundlerCompiler ( platform ) ;
564564 watcher [ platform ] . hasWebpackCompilerProcess = false ;
565565 }
566566 }
@@ -569,7 +569,7 @@ export class PrepareController extends EventEmitter {
569569 for ( const platform in watcher ) {
570570 const args = watcher [ platform ] . prepareArguments ;
571571 watcher [ platform ] . hasWebpackCompilerProcess = true ;
572- await this . $webpackCompilerService . compileWithWatch (
572+ await this . $bundlerCompilerService . compileWithWatch (
573573 args . platformData ,
574574 args . projectData ,
575575 args . prepareData ,
0 commit comments