File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { ChokidarOptions } from '../compiled/chokidar/index.js';
33import { init } from './cli/init' ;
44import { color , isTTY } from './helpers' ;
55import { logger } from './logger' ;
6- import { createChokidar } from './server/watchFiles.js ' ;
6+ import { createChokidar } from './server/watchFiles' ;
77import type { RsbuildInstance } from './types' ;
88
99type Cleaner = ( ) => unknown ;
Original file line number Diff line number Diff line change 11import path from 'node:path' ;
22import { promisify } from 'node:util' ;
33import { parse as parseStack } from 'stacktrace-parser' ;
4- import { JS_REGEX } from '../constants.js ' ;
4+ import { JS_REGEX } from '../constants' ;
55import { color } from '../helpers' ;
66import { logger } from '../logger' ;
77import type { EnvironmentContext , InternalContext , Rspack } from '../types' ;
8- import { getFileFromUrl } from './assets-middleware/getFileFromUrl.js ' ;
9- import type { OutputFileSystem } from './assets-middleware/index.js ' ;
10- import type { ClientMessageRuntimeError } from './socketServer.js ' ;
8+ import { getFileFromUrl } from './assets-middleware/getFileFromUrl' ;
9+ import type { OutputFileSystem } from './assets-middleware/index' ;
10+ import type { ClientMessageRuntimeError } from './socketServer' ;
1111
1212/**
1313 * Maps a position in compiled code to its original source position using
Original file line number Diff line number Diff line change 99import { formatStatsMessages } from '../helpers/format' ;
1010import { logger } from '../logger' ;
1111import type { DevConfig , InternalContext , Rspack } from '../types' ;
12- import { reportRuntimeError } from './browserLogs.js ' ;
12+ import { reportRuntimeError } from './browserLogs' ;
1313import { genOverlayHTML } from './overlay' ;
1414
1515interface ExtWebSocket extends Ws {
Original file line number Diff line number Diff line change 11import type { FSWatcher } from '../../compiled/chokidar/index.js' ;
2- import { normalizePublicDirs } from '../defaultConfig.js ' ;
2+ import { normalizePublicDirs } from '../defaultConfig' ;
33import { castArray } from '../helpers' ;
44import type {
55 ChokidarOptions ,
@@ -8,7 +8,7 @@ import type {
88 ServerConfig ,
99 WatchFiles ,
1010} from '../types' ;
11- import type { BuildManager } from './buildManager.js ' ;
11+ import type { BuildManager } from './buildManager' ;
1212
1313type WatchFilesOptions = {
1414 root : string ;
You can’t perform that action at this time.
0 commit comments