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
This webpack plugin provides an ability to save your assets in [Redis](https://redis.io/).
7
+
This Webpack plugin provides an ability to save your assets in [Redis](https://redis.io/). The plugin supports _all_ the Webpack versions and is [tested](https://github.com/dokmic/webpack-redis-plugin/actions/workflows/main.yaml) with Webpack 2, 3, 4, and 5.
This config tells the plugin to filter out everything except non-empty `js/page1.js` and save a hash sum of the contents at `js/page1.js.sha1` key.
54
+
This config tells the plugin to filter out everything except non-empty `js/page1.js` and save a hash sum of the contents at the `js/page1.js.sha1` key.
55
55
56
56
## API
57
57
58
58
### `options.config`
59
59
Redis client configuration. All possible options can be found [here](https://www.npmjs.com/package/redis#options-object-properties).
60
60
61
+
**Default:**`undefined`
62
+
61
63
### `options.filter`
62
-
The callback function filters keys/assets that will be set in Redis:
64
+
The callback function to filter keys/assets that will be set in Redis:
0 commit comments