Jovi De Croock
Jovi De Croock
@frederikhors if you have a specific thing that you want let's make an RFC? We can also help you out if you want to contribute this change yourself, insisting/pressuring someone...
Mind trying with something else than pnpm? 😅 sorry not familiar with strict package managers and want to exclude that that is the issue. I can go on codesandbox later...
Odd, it seems like with webpack 5 the module resolution and loaders start goofing up. I've had no issues during the beta. This issue could be located in two placed...
@sventschui We could try a similar check to React, however `isReactComponent` doesn't exist in pure preact https://github.com/facebook/react/blob/master/packages/react-refresh/src/ReactFreshRuntime.js#L676 Will also check https://github.com/vercel/next.js/tree/canary/packages/react-refresh-utils
@prisis is this issue still present for you?
Are you running the latest? It works with latest for me?
Yeah, so normally that bug is resolved on the latest `@prefresh/webpack` when using webpack 5 as that code can't be reached
You might want to try the following approach: ``` yarn add react@npm:@preact/compat react-dom@npm:@preact/compat ```
Hey @danielzzz is this issue still present with the newer versions of prefresh & this plugin?
@Interpause the comment to leave prePublish in still stands 😅 we want this so when we use `npm publish` we are sure we can't forget to use the latest build