Skip to content

Commit

Permalink
chore: [M3-7754] - fix bundle analyse script (#10175)
Browse files Browse the repository at this point in the history
* fix bundle analyse script

* Added changeset: Bundle analyze script

* bunx for the win!
  • Loading branch information
abailly-akamai authored Feb 12, 2024
1 parent 5aabcf0 commit daf3828
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"build:sdk": "yarn workspace @linode/api-v4 build",
"build:validation": "yarn workspace @linode/validation build",
"build": "yarn build:validation && yarn build:sdk && yarn workspace linode-manager build",
"build:analyze": "yarn build --bundle-analyze",
"build:analyze": "yarn workspace linode-manager build:analyze",
"up": "yarn install:all && yarn build:validation && yarn build:sdk && yarn start:all",
"up:expose": "yarn install:all && yarn build:validation && yarn build:sdk && yarn start:all:expose",
"dev": "yarn install:all && yarn start:all",
Expand Down
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10175-fixed-1707751671549.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Bundle analyze script ([#10175](https://github.com/linode/manager/pull/10175))
1 change: 1 addition & 0 deletions packages/manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"start:ci": "yarn serve ./build -p 3000 -s --cors",
"lint": "yarn run eslint . --ext .js,.ts,.tsx --quiet",
"build": "node scripts/prebuild.mjs && vite build",
"build:analyze": "bunx vite-bundle-visualizer",
"precommit": "lint-staged && yarn typecheck",
"test": "vitest run",
"test:debug": "node --inspect-brk scripts/test.js --runInBand",
Expand Down

0 comments on commit daf3828

Please sign in to comment.