From 7951007f87f5b80e121f54f94a1da8da05d2a2df Mon Sep 17 00:00:00 2001 From: rare-magma Date: Tue, 19 Sep 2023 23:21:43 +0200 Subject: [PATCH] build: add bundle visualizer script Signed-off-by: rare-magma --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b4d14f5..390b499 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "serve": "vite preview", "test": "vitest", "coverage": "vitest run --coverage", - "lint": "npx eslint src --fix && npx prettier --write src" + "lint": "npx eslint src --fix && npx prettier --write src", + "bundle": "npx vite-bundle-visualizer" }, "eslintConfig": { "extends": [