Our team has a config with the form:
{
...
entry: {
entry1: ['file1', 'file2'],
entry2: ['file3', 'file4'],
}
}
We were very excited to try out react-refresh-webpack-plugin, but unfortunately, could not get it working!
Through a process of trial and error, I removed entry2, and it started working. I think this is due to the logic in injectRefreshEntry, which would double-append react refresh into both entries. Is this intentional behavior?
Thanks!
Mike
Our team has a config with the form:
We were very excited to try out
react-refresh-webpack-plugin, but unfortunately, could not get it working!Through a process of trial and error, I removed
entry2, and it started working. I think this is due to the logic ininjectRefreshEntry, which would double-append react refresh into both entries. Is this intentional behavior?Thanks!
Mike