From 9018255c697a8c0888dce57aaa755d25bf66beba Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Thu, 15 Aug 2024 11:46:24 +0900 Subject: [PATCH] chore: fix picocolors import for local dev (#17884) --- packages/vite/src/node/watch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vite/src/node/watch.ts b/packages/vite/src/node/watch.ts index d8eb128f1613a5..011549a010697d 100644 --- a/packages/vite/src/node/watch.ts +++ b/packages/vite/src/node/watch.ts @@ -3,7 +3,7 @@ import path from 'node:path' import glob from 'fast-glob' import type { FSWatcher, WatchOptions } from 'dep-types/chokidar' import type { OutputOptions } from 'rollup' -import * as colors from 'picocolors' +import colors from 'picocolors' import { withTrailingSlash } from '../shared/utils' import { arraify, normalizePath } from './utils' import type { ResolvedConfig } from './config'