File tree Expand file tree Collapse file tree 3 files changed +52
-59
lines changed Expand file tree Collapse file tree 3 files changed +52
-59
lines changed Original file line number Diff line number Diff line change 194194 "tippy.js" : " ^6.3.7"
195195 },
196196 "peerDependencies" : {
197- "react" : " >= 17.0.0 " ,
198- "react-dom" : " >= 17.0.0 "
197+ "react" : " >=17.0.2 " ,
198+ "react-dom" : " >=17.0.2 "
199199 },
200200 "devDependencies" : {
201201 "@eslint-react/eslint-plugin" : " ^1.30.2" ,
202202 "@hunghg255/eslint-config" : " ^0.0.16" ,
203203 "@types/deep-equal" : " ^1.0.4" ,
204204 "@types/katex" : " ^0.16.7" ,
205205 "@types/lodash-es" : " ^4.17.12" ,
206- "@types/node" : " ^20 " ,
207- "@types/react" : " ^19" ,
208- "@types/react-dom" : " ^19" ,
206+ "@types/node" : " ^22.10.1 " ,
207+ "@types/react" : " ^19.0.1 " ,
208+ "@types/react-dom" : " ^19.0.2 " ,
209209 "@vitejs/plugin-react" : " ^4.3.4" ,
210210 "autoprefixer" : " ^10.4.20" ,
211211 "bumpp" : " ^9.11.1" ,
Original file line number Diff line number Diff line change @@ -13,9 +13,6 @@ export default defineConfig(({ mode }) => {
1313 const isDev = mode !== 'production'
1414
1515 return {
16- define : {
17- 'process.env' : { }
18- } ,
1916 plugins : [
2017 react ( ) ,
2118 dts ( {
@@ -78,11 +75,6 @@ export default defineConfig(({ mode }) => {
7875 if ( assetInfo . name == "reactjs-tiptap-editor.css" ) return "style.css" ;
7976 return assetInfo . name ;
8077 } ,
81- globals : {
82- 'react-dom' : 'ReactDom' ,
83- react : 'React' ,
84- 'react/jsx-runtime' : 'ReactJsxRuntime' ,
85- } ,
8678 manualChunks ( id ) {
8779 if ( id . includes ( '@tiptap' ) ) {
8880 return 'tiptap'
You can’t perform that action at this time.
0 commit comments