Skip to content

Commit 1c25125

Browse files
committed
Setup vite-plugin-devtools-json to make quite console
1 parent faf30ba commit 1c25125

3 files changed

Lines changed: 22 additions & 0 deletions

File tree

packages/layerchart/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
"unplugin-icons": "^22.1.0",
8080
"us-atlas": "^3.0.1",
8181
"vite": "^6.3.5",
82+
"vite-plugin-devtools-json": "^0.1.0",
8283
"vitest": "^3.1.4"
8384
},
8485
"type": "module",

packages/layerchart/vite.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import tailwindcss from '@tailwindcss/vite';
44
import dsv from '@rollup/plugin-dsv';
55
import { autoType } from 'd3-dsv';
66
import Icons from 'unplugin-icons/vite';
7+
import devtoolsJson from 'vite-plugin-devtools-json';
78

89
/** @type {import('vite').UserConfig} */
910
const config = {
@@ -16,6 +17,7 @@ const config = {
1617
Icons({
1718
compiler: 'svelte',
1819
}),
20+
devtoolsJson(),
1921
],
2022
// optimizeDeps: {
2123
// include: ['svelte-ux'],

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)