@itcase/storybook-config 1.3.7 → 1.3.8

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.
@@ -32,6 +32,12 @@ const MAIN_CONFIG_REACT_NATIVE_WEB = {
32
32
  plugins: [svgr({ include: '**/*.svg' })],
33
33
  resolve: {
34
34
  alias: [
35
+ {
36
+ // RN 0.87 re-exports this package from `react-native`, which
37
+ // has no web equivalent on the react-native-web public API.
38
+ find: '@react-native/assets-registry/registry',
39
+ replacement: 'react-native-web/dist/modules/AssetRegistry',
40
+ },
35
41
  {
36
42
  find: /^react-native$/,
37
43
  replacement: 'react-native-web',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/storybook-config",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "author": "ITCase",
5
5
  "description": "Storybook configuration package",
6
6
  "engines": {