Skip to content

Commit eb4b06c

Browse files
committed
add react to peerDependencies in pacakge.json
1 parent b132bfa commit eb4b06c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"i18next": "^22.0.0 || ^23.0.0 || ^24.0.0 || ^25.0.0",
8383
"i18next-browser-languagedetector": "^7.0.0 || ^8.0.0",
8484
"i18next-http-backend": "^2.0.0 || ^3.0.0",
85+
"react": ">= 16.8.0",
8586
"react-i18next": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0",
8687
"storybook": "^9.0.0"
8788
},

tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export default defineConfig(async (options) => {
9797
format: ['esm', 'cjs'],
9898
target: BROWSER_TARGET,
9999
platform: 'browser',
100-
external: [...globalPreviewPackages, 'react', 'react-dom'],
100+
external: globalPreviewPackages,
101101
});
102102
}
103103

0 commit comments

Comments
 (0)