react-mail-inbox 2.0.4 → 2.0.5

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.
Files changed (2) hide show
  1. package/README.md +7 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -33,6 +33,13 @@ This package requires the following peer dependencies:
33
33
  }
34
34
  ```
35
35
 
36
+ ## Requirements
37
+ This package uses `@lexical` internally which requires your bundler
38
+ to support top-level await. Add this to your `vite.config.ts`:
39
+
40
+ build: { target: "esnext" },
41
+ optimizeDeps: { esbuildOptions: { target: "esnext" } }
42
+
36
43
  ## Usage
37
44
 
38
45
  ### Basic Example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-mail-inbox",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "A customizable Gmail-style inbox component with rich text editing",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",