Closed bfanger closed 2 years ago
Since 0.5.0 the import { createElement } from 'react';
is compiled into the application code instead of the library.
Dependency injection: React & ReactDOM are now arguments to the sveltifyReact function.
This fixes errors like: node_modules/react-dom/client.js does not provide an export named 'default'
The node_modules/react-dom/client.js contains common-js, vite (or sveltekit) failed to convert it to esm.