1 line
1.5 KiB
Plaintext
1 line
1.5 KiB
Plaintext
{"version":3,"file":"expo-splash-screen.js","sourceRoot":"","sources":["../../../src/plugins/unversioned/expo-splash-screen.ts"],"names":[],"mappings":";;AACA,6DAAyF;AACzF,yDAAiF;AACjF,kDAAsD;AACtD,sDAAqD;AAErD,MAAM,WAAW,GAAG,oBAAoB,CAAC;AAE5B,QAAA,gBAAgB,GAAiB,MAAM,CAAC,EAAE;IACrD,OAAO,iCAAgB,CAAC,MAAM,EAAE;QAC9B,eAAe,EAAE,IAAI;QACrB,MAAM,EAAE,WAAW;QACnB,6DAA6D;QAC7D,QAAQ,EAAE,2BAA2B;KACtC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,MAAM,2BAA2B,GAAiB,kCAAmB,CAAC,MAAM,CAAC,EAAE;IAC7E,MAAM,GAAG,+BAAuB,CAAC,MAAM,CAAC,CAAC;IACzC,MAAM,GAAG,+BAAmB,CAAC,MAAM,CAAC,CAAC;IACrC,OAAO,MAAM,CAAC;AAChB,CAAC,EAAE,WAAW,CAAC,CAAC;AAEhB,kBAAe,wBAAgB,CAAC","sourcesContent":["import { ConfigPlugin } from '../../Plugin.types';\nimport { withSplashScreen as withSplashScreenAndroid } from '../../android/SplashScreen';\nimport { withSplashScreen as withSplashScreenIOS } from '../../ios/SplashScreen';\nimport { createRunOncePlugin } from '../core-plugins';\nimport { withStaticPlugin } from '../static-plugins';\n\nconst packageName = 'expo-splash-screen';\n\nexport const withSplashScreen: ConfigPlugin = config => {\n return withStaticPlugin(config, {\n _isLegacyPlugin: true,\n plugin: packageName,\n // If the static plugin isn't found, use the unversioned one.\n fallback: withUnversionedSplashScreen,\n });\n};\n\nconst withUnversionedSplashScreen: ConfigPlugin = createRunOncePlugin(config => {\n config = withSplashScreenAndroid(config);\n config = withSplashScreenIOS(config);\n return config;\n}, packageName);\n\nexport default withSplashScreen;\n"]} |