-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I'm working on migrating a fairly large project to rspack and one blocker they had with webpack was enabling Fast Refresh. There is a known issue that Rspack seems to have solved around circular dependencies, pmmmwh/react-refresh-webpack-plugin#190.
However, when I enable this plugin for our repo and make changes to any of our translation files, we have a few pages that hang and are completely unresponsive. The basic structure of our app is
pages/
- page1.tsx
- strings.ts
i18n/
- en.json
where strings.ts is something like
export const title = i18n.t('<key-of-en.json>');
I'd expect the page to either do a full refresh or not hang. There are no useful logs in either the browser or rspack. An example response from the hot reload chunk is
{
c: ["main"],
r: [],
m: []
}
Metadata
Metadata
Assignees
Labels
No labels