GT2/Ejectable/node_modules/@expo/configure-splash-screen/build/ios/index.js.map

1 line
1.7 KiB
Plaintext

{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ios/index.ts"],"names":[],"mappings":";;;;;AAAA,wDAA0B;AAG1B,8CAAkD;AAClD,wEAAyD;AACzD,8DAA+C;AAC/C,8DAA8C;AAC9C,8DAA+C;AAC/C,wDAAuC;AAExB,KAAK,UAAU,YAAY,CACxC,eAAuB,EACvB,MAAiC;IAEjC,MAAM,eAAe,GAAG,MAAM,8BAAiB,CAAC,MAAM,CAAC,CAAC;IAExD,MAAM,UAAU,GAAG,MAAM,iBAAc,CAAC,eAAe,CAAC,CAAC;IAEzD,MAAM,OAAO,CAAC,GAAG,CAAC;QAChB,oBAAkB,CAAC,UAAU,CAAC,WAAW,EAAE,eAAe,CAAC;QAC3D,oBAAmB,CAAC,UAAU,CAAC,WAAW,EAAE,eAAe,CAAC;QAC5D,yBAAwB,CAAC,UAAU,CAAC,WAAW,EAAE,eAAe,CAAC;QACjE,oBAAmB,CAAC,UAAU,EAAE,eAAe,CAAC;KACjD,CAAC,CAAC;IAEH,MAAM,kBAAE,CAAC,SAAS,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,UAAU,CAAC,SAAS,EAAE,CAAC,CAAC;AACxF,CAAC;AAhBD,+BAgBC","sourcesContent":["import fs from 'fs-extra';\n\nimport { IosSplashScreenConfigJSON } from '../SplashScreenConfig';\nimport { validateIosConfig } from '../validators';\nimport configureBackgroundAsset from './BackgroundAsset';\nimport configureImageAsset from './ImageAsset';\nimport configureInfoPlist from './Info.plist';\nimport configureStoryboard from './Storyboard';\nimport readPbxProject from './pbxproj';\n\nexport default async function configureIos(\n projectRootPath: string,\n config: IosSplashScreenConfigJSON\n) {\n const validatedConfig = await validateIosConfig(config);\n\n const iosProject = await readPbxProject(projectRootPath);\n\n await Promise.all([\n configureInfoPlist(iosProject.projectPath, validatedConfig),\n configureImageAsset(iosProject.projectPath, validatedConfig),\n configureBackgroundAsset(iosProject.projectPath, validatedConfig),\n configureStoryboard(iosProject, validatedConfig),\n ]);\n\n await fs.writeFile(iosProject.pbxProject.filepath, iosProject.pbxProject.writeSync());\n}\n"]}