@@ -2,8 +2,8 @@ import Debug from 'debug';
22import { pathExists , readFile , readJSON , writeFile , writeJSON } from 'fs-extra' ;
33import { dirname , extname , join , relative , resolve } from 'path' ;
44
5- import c from './colors' ;
6- import { parseApkNameFromFlavor } from './common' ;
5+ import c from './colors.js ' ;
6+ import { parseApkNameFromFlavor } from './common.js ' ;
77import type {
88 AndroidConfig ,
99 AppConfig ,
@@ -13,16 +13,16 @@ import type {
1313 IOSConfig ,
1414 WebConfig ,
1515 XcodeExportMethod ,
16- } from './definitions' ;
17- import { OS } from './definitions' ;
18- import { fatal , isFatal } from './errors' ;
19- import { logger } from './log' ;
20- import { tryFn } from './util/fn' ;
21- import { formatJSObject } from './util/js' ;
22- import { findNXMonorepoRoot , isNXMonorepo } from './util/monorepotools' ;
23- import { requireTS , resolveNode } from './util/node' ;
24- import { lazy } from './util/promise' ;
25- import { getCommandOutput } from './util/subprocess' ;
16+ } from './definitions.js ' ;
17+ import { OS } from './definitions.js ' ;
18+ import { fatal , isFatal } from './errors.js ' ;
19+ import { logger } from './log.js ' ;
20+ import { tryFn } from './util/fn.js ' ;
21+ import { formatJSObject } from './util/js.js ' ;
22+ import { findNXMonorepoRoot , isNXMonorepo } from './util/monorepotools.js ' ;
23+ import { requireTS , resolveNode } from './util/node.js ' ;
24+ import { lazy } from './util/promise.js ' ;
25+ import { getCommandOutput } from './util/subprocess.js ' ;
2626
2727const debug = Debug ( 'capacitor:config' ) ;
2828
@@ -371,7 +371,7 @@ async function determineAndroidStudioPath(os: OS): Promise<string> {
371371 case OS . Mac :
372372 return '/Applications/Android Studio.app' ;
373373 case OS . Windows : {
374- const { runCommand } = await import ( './util/subprocess' ) ;
374+ const { runCommand } = await import ( './util/subprocess.js ' ) ;
375375
376376 let p = 'C:\\Program Files\\Android\\Android Studio\\bin\\studio64.exe' ;
377377
0 commit comments