Skip to content

Commit bd56be0

Browse files
committed
refactor(client): use named imports for hot emitter and log
1 parent 311454a commit bd56be0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client-src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
*/
1010

1111
// @ts-expect-error: No type definitions available for '@rspack/core/hot/emitter.js'
12-
import hotEmitter from '@rspack/core/hot/emitter.js';
12+
import { emitter as hotEmitter } from '@rspack/core/hot/emitter.js';
1313
/* Rspack dev server runtime client */
1414
// @ts-expect-error: No type definitions available for '@rspack/core/hot/log.js'
15-
import webpackHotLog from '@rspack/core/hot/log.js';
15+
import { log as webpackHotLog } from '@rspack/core/hot/log.js';
1616
import { createOverlay, formatProblem } from './overlay.js';
1717
import socket from './socket.js';
1818
import { defineProgressElement, isProgressSupported } from './progress.js';

0 commit comments

Comments
 (0)