use the webpack detection for esmodule with React Refresh

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-08-31 13:52:17 +02:00
parent 038be56b1c
commit 03d355d6e2
@@ -190,7 +190,6 @@ export const transforms = (options: TransformOptions): Transforms => {
if (isDev) {
plugins.push(
new ReactRefreshPlugin({
esModule: true,
overlay: { sockProtocol: 'ws' },
}),
);