You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/1.docs/8.storage.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,6 +101,12 @@ Then, you can use the redis storage using the `useStorage("redis")` function.
101
101
You can find the driver list on [unstorage documentation](https://unstorage.unjs.io/) with their configuration.
102
102
::
103
103
104
+
### Driver dependencies
105
+
106
+
Some drivers rely on a third-party library (for example, `redis` requires [`ioredis`](https://www.npmjs.com/package/ioredis)).
107
+
108
+
Nitro detects the libraries required by the mounted drivers and prompts to install the missing ones (installed automatically in CI). Installed libraries are then explicitly passed to the driver via its `lib` option, so that bundlers can statically resolve them.
109
+
104
110
### Development storage
105
111
106
112
You can use the `devStorage` option to override storage configuration during development and prerendering.
0 commit comments