Merge pull request #13450 from backstage/blam/fix-esmodule-detection

Use webpack esmodule detection for React Refresh
This commit is contained in:
Ben Lambert
2022-08-31 16:45:00 +02:00
committed by GitHub
2 changed files with 5 additions and 1 deletions
@@ -190,7 +190,6 @@ export const transforms = (options: TransformOptions): Transforms => {
if (isDev) {
plugins.push(
new ReactRefreshPlugin({
esModule: true,
overlay: { sockProtocol: 'ws' },
}),
);