diff --git a/packages/wxt/e2e/tests/runners.test.ts b/packages/wxt/e2e/tests/runners.test.ts index cc2ba82d..ad3f8a77 100644 --- a/packages/wxt/e2e/tests/runners.test.ts +++ b/packages/wxt/e2e/tests/runners.test.ts @@ -61,9 +61,7 @@ vi.mock('is-wsl', () => ({ }, })); -/** - * Imitate a real module not found error - needs the correct `code` property. - */ +/** Imitate a real module not found error - needs the correct `code` property. */ class ModuleNotFoundError extends Error { code = 'ERR_MODULE_NOT_FOUND'; diff --git a/packages/wxt/src/core/create-server.ts b/packages/wxt/src/core/create-server.ts index 1ae31aff..5939870c 100644 --- a/packages/wxt/src/core/create-server.ts +++ b/packages/wxt/src/core/create-server.ts @@ -1,12 +1,6 @@ import chokidar from 'chokidar'; -import { - InlineConfig, - ServerInfo, - WxtDevServer, -} from '../types'; -import { - internalBuild, -} from './utils/building'; +import { InlineConfig, ServerInfo, WxtDevServer } from '../types'; +import { internalBuild } from './utils/building'; import { deinitWxtModules, initWxtModules, registerWxt, wxt } from './wxt'; import { unnormalizePath } from './utils/paths'; import { createKeyboardShortcuts } from './keyboard-shortcuts'; @@ -131,7 +125,8 @@ async function createServerInternal(): Promise { keyboardShortcuts.start(); keyboardShortcuts.printHelp({ canReopenBrowser: - !wxt.config.runnerConfig.config.disabled && !!wxt.config.runner.canOpen?.(), + !wxt.config.runnerConfig.config.disabled && + !!wxt.config.runner.canOpen?.(), }); }, }; @@ -174,7 +169,8 @@ async function createServerInternal(): Promise { keyboardShortcuts.start(); keyboardShortcuts.printHelp({ canReopenBrowser: - !wxt.config.runnerConfig.config.disabled && !!wxt.config.runner.canOpen?.(), + !wxt.config.runnerConfig.config.disabled && + !!wxt.config.runner.canOpen?.(), }); };