rollup-plugin-react-refresh
rollup-plugin-react-refresh copied to clipboard
An app I'm building is using dynamic imports to load components on the fly. Out setup is to used CDN urls within the dynamic import (so that the pages/components are...
fixes https://github.com/PepsRyuu/rollup-plugin-react-refresh/issues/9. The latest versions of Node.js force `rollup-plugin-react-refresh` to require `react-refresh` via a relative import. See https://nodejs.org/api/packages.html#main-entry-point-export for more details. This PR allows passing a relative import path as...
[In the last `Node.js` versions, only exported files can be imported via an absolute path](https://nodejs.org/api/packages.html#main-entry-point-export). This is why the library doesn't work on these. It fails with the error: ```...