vite-plugin-react-native-web 2.7.0 → 3.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,12 +22,6 @@ export default defineConfig({
22
22
  });
23
23
  ```
24
24
 
25
- ## Options
26
-
27
- The plugin accepts an options object with the following optional properties:
28
-
29
- - `enableExpoManualChunk` (boolean): When set to true, this option enables manual chunking for expo-modules-core modules to optimize bundle size and loading performance. Default is false. Be cautious when enabling this option, since it overrides user-defined manual chunks in the Vite configuration.
30
-
31
25
  If you are getting errors please report them in the issues section.
32
26
 
33
27
  The following variables are defined in the transformed files: (inferred during Vite's build process)
@@ -37,6 +31,11 @@ The following variables are defined in the transformed files: (inferred during V
37
31
  - `process.env.NODE_ENV` as `process.env.NODE_ENV`
38
32
  - `process.env.EXPO_OS` as `"web"`
39
33
 
34
+ ## Examples
35
+
36
+ - [React + TypeScript + Vite + React Native Web Example](./apps/example)
37
+ - [React + TypeScript + Expo + Vite + React Native Web Example](./apps/expo-example)
38
+
40
39
  ## Contributing
41
40
 
42
41
  Please feel free to contribute to this project. Just fork it and submit a PR.
@@ -48,3 +47,7 @@ MIT
48
47
  ```
49
48
 
50
49
  ```
50
+
51
+ ```
52
+
53
+ ```