jsxc-react-hook 0.0.5 → 0.0.7

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.
package/src/main.tsx CHANGED
@@ -1,4 +1,3 @@
1
- import React from 'react'
2
1
  import ReactDOM from 'react-dom/client'
3
2
  import Sel from './Sel';
4
3
  import { AliveScope } from 'react-activation'
package/vite.config.ts CHANGED
@@ -17,7 +17,7 @@ export default defineConfig({
17
17
  rollupOptions: {
18
18
  // make sure to externalize deps that shouldn't be bundled
19
19
  // into your library
20
- external: ['react'],
20
+ external: ['react', "react-dom"],
21
21
  output: {
22
22
  // Provide global variables to use in the UMD build
23
23
  // for externalized deps