Skip to content

Commit a43b82a

Browse files
committed
Drop react-dom from peerDependencies
It used only in `voayger.standalone.js` file and it's bundled in this file.
1 parent 7ead51f commit a43b82a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@
4141
},
4242
"peerDependencies": {
4343
"graphql": ">=16.5.0",
44-
"react": ">=18.0.0",
45-
"react-dom": ">=18.0.0"
44+
"react": ">=18.0.0"
4645
},
4746
"dependencies": {
4847
"@emotion/react": "11.10.5",

src/standalone.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* eslint-disable import/no-extraneous-dependencies */
2+
// All dependencies are bundled for this entry point
3+
14
import * as React from 'react';
25
import * as ReactDOMClient from 'react-dom/client';
36

0 commit comments

Comments
 (0)