Skip to content

Commit 2d2ae30

Browse files
committed
fix: ui 'npm run dev' emits spurious empty 'ERROR' output on console
This seems to be caused by vite-plugin-html's use of `consola.wrapConsole()`, and it seems to treat `console.error()` as still worthy of printing an 'ERROR' prefix to the console. The underlying culprit is `vite-plugin-checker`, which doesn't seem to be useful at this point, anyway. So this change removes use of `vite-plugin-checker`. Signed-off-by: Nick Mitchell <[email protected]>
1 parent 3633e02 commit 2d2ae30

File tree

3 files changed

+0
-185
lines changed

3 files changed

+0
-185
lines changed

pdl-live-react/package-lock.json

Lines changed: 0 additions & 179 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pdl-live-react/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
"typescript": "^5.7.3",
6565
"typescript-eslint": "^8.22.0",
6666
"vite": "^6.0.11",
67-
"vite-plugin-checker": "^0.9.0",
6867
"vite-plugin-html": "^3.2.2"
6968
},
7069
"prettier": {

pdl-live-react/vite.config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { defineConfig } from "vite";
2-
import checker from "vite-plugin-checker";
32
import react from "@vitejs/plugin-react";
43
import { createHtmlPlugin } from "vite-plugin-html";
54

@@ -10,10 +9,6 @@ export default defineConfig(async () => ({
109
base: "./",
1110
plugins: [
1211
react(),
13-
checker({
14-
// e.g. use TypeScript check
15-
typescript: true,
16-
}),
1712
createHtmlPlugin({
1813
inject: {
1914
data: {

0 commit comments

Comments
 (0)