Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: import react-refresh without depending on extension #576

Merged
merged 3 commits into from Feb 7, 2022

Conversation

pmmmwh
Copy link
Owner

@pmmmwh pmmmwh commented Feb 7, 2022

Fixes #565

@pmmmwh pmmmwh merged commit ae52385 into main Feb 7, 2022
@pmmmwh pmmmwh deleted the fix/react-refresh-import branch February 7, 2022 02:57
@ntucker
Copy link

ntucker commented Mar 29, 2022

Can we get a release with this fix? React 18 is released

@Domiii
Copy link

Domiii commented Apr 2, 2022

Can you please release this fix?

Without it, the plugin does not work anymore ANYWHERE:

myproj: Module build failed (from ../../node_modules/@pmmmwh/react-refresh-webpack-plugin/loader/index.js):
myproj: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './runtime.js' is not defined by "exports" in ~\myproj\node_modules\react-refresh\package.json

Has nothing to do with React 18.

@pmmmwh
Copy link
Owner Author

pmmmwh commented Apr 4, 2022

Released in 0.5.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package path ./runtime.js is not exported from package
3 participants