use the webpack detection for esmodule with React Refresh
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -190,7 +190,6 @@ export const transforms = (options: TransformOptions): Transforms => {
|
||||
if (isDev) {
|
||||
plugins.push(
|
||||
new ReactRefreshPlugin({
|
||||
esModule: true,
|
||||
overlay: { sockProtocol: 'ws' },
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user