Skip to content

Commit

Permalink
add bundle analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
inetol committed Nov 2, 2024
1 parent 5ffc58d commit 3d39cc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Binary file modified bun.lockb
Binary file not shown.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"license": "EUPL-1.2",
"type": "module",
"scripts": {
"analyse:bundle": "bun run analyze:bundle",
"analyze:bundle": "rm -rf ./dist/ && bun vite-bundle-visualizer --sourcemap --output ./dist/bundle.html",
"build": "bun run build:server",
"build:server": "rm -rf ./dist/ && bun vite build && bun run script:standalone && bun run script:compress",
"clean:git:all": "bun run clean:git:untracked && bun run clean:git:gc && bun run clean:git:hooks",
Expand Down Expand Up @@ -70,7 +72,8 @@
"devDependencies": {
"@biomejs/biome": "~1.9.4",
"lefthook": "~1.8.2",
"sort-package-json": "~2.10.1"
"sort-package-json": "~2.10.1",
"vite-bundle-visualizer": "~1.2.1"
},
"trustedDependencies": [
"@biomejs/biome",
Expand Down

0 comments on commit 3d39cc4

Please # to comment.