diff --git a/package.json b/package.json index 67848f39cb2..9ed95835e54 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/manager/.changeset/pr-10175-fixed-1707751671549.md b/packages/manager/.changeset/pr-10175-fixed-1707751671549.md new file mode 100644 index 00000000000..c6f8230b03a --- /dev/null +++ b/packages/manager/.changeset/pr-10175-fixed-1707751671549.md @@ -0,0 +1,5 @@ +--- +"@linode/manager": Fixed +--- + +Bundle analyze script ([#10175](https://github.com/linode/manager/pull/10175)) diff --git a/packages/manager/package.json b/packages/manager/package.json index 9e890915e19..ff8e4d79de7 100644 --- a/packages/manager/package.json +++ b/packages/manager/package.json @@ -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",