From ac0139c2c7f4fe6c5ab308188f24f07f8dbb79b1 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 6 Dec 2022 14:54:34 +0800 Subject: [PATCH] chore: simpify size-limit output (#39285) --- .github/workflows/size-limit.yml | 1 - package.json | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/size-limit.yml b/.github/workflows/size-limit.yml index fede7e0b87..c03b16a832 100644 --- a/.github/workflows/size-limit.yml +++ b/.github/workflows/size-limit.yml @@ -26,4 +26,3 @@ jobs: - uses: andresz1/size-limit-action@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }} - script: npx size-limit --json --why diff --git a/package.json b/package.json index 58757673fe..48f590ecba 100644 --- a/package.json +++ b/package.json @@ -166,8 +166,8 @@ "@emotion/react": "^11.10.4", "@emotion/server": "^11.4.0", "@qixian.cs/github-contributors-list": "^1.0.3", - "@size-limit/file": "^8.0.0", - "@size-limit/preset-big-lib": "^8.1.0", + "@size-limit/file": "^8.1.0", + "@size-limit/webpack-why": "^8.1.0", "@stackblitz/sdk": "^1.3.0", "@testing-library/dom": "^8.17.1", "@testing-library/jest-dom": "^5.16.3", @@ -288,7 +288,7 @@ "rome": "^10.0.1", "semver": "^7.3.5", "simple-git": "^3.0.0", - "size-limit": "^8.0.0", + "size-limit": "^8.1.0", "stylelint": "^14.9.0", "stylelint-config-prettier": "^9.0.2", "stylelint-config-rational-order": "^0.1.2",