expo
Version:
15 lines (12 loc) • 411 B
text/typescript
// Copyright 2015-present 650 Industries. All rights reserved.
import { getBundleUrl } from '../utils/getBundleUrl';
/**
* Registry to handle import.meta functionality for React Native environment
* Similar to how it works in the web, but adapted for the RN context
* https://github.com/wintercg/import-meta-registry
*/
export const ImportMetaRegistry = {
get url() {
return getBundleUrl();
},
};