Prebuild Config
@expo/prebuild-config
Get the prebuild config
React Native Libraries
json
react-native
expo
react
@expo/prebuild-config
React Native Libraries
javascript
npm
frontend
open source
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB
Installation
npm install @expo/prebuild-configCode example
import { View, Text, StyleSheet } from "react-native";
import { PrebuildConfig } from "@expo/prebuild-config";
export function Example() {
return (
<View style={styles.box}>
<Text style={styles.title}>Prebuild Config</Text>
<PrebuildConfig />
</View>
);
}
const styles = StyleSheet.create({
box: { flex: 1, alignItems: "center", justifyContent: "center", gap: 8 },
title: { fontSize: 18, fontWeight: "600" },
});Pros & cons
Pros
- Actively maintained by ide
- 0 weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~60 kB to your bundle
- Needs client-only rendering in SSR frameworks
- 0 open issues on GitHub