Browse Source

test: compare bundle size with esbuild, it is faster (#29006)

pull/29007/head
偏右 4 years ago
committed by GitHub
parent
commit
abd31cc03b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/compressed-size.yml
  2. 1
      package.json

2
.github/workflows/compressed-size.yml

@ -15,4 +15,4 @@ jobs:
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
pattern: "./dist/**/*.min.{js,css}"
build-script: "dist"
build-script: "dist:esbuild"

1
package.json

@ -65,6 +65,7 @@
"deploy": "bisheng gh-pages --push-only --dotfiles",
"deploy:china-mirror": "git checkout gh-pages && git pull origin gh-pages && git push git@gitee.com:ant-design/ant-design.git gh-pages",
"dist": "antd-tools run dist",
"dist:esbuild": "ESBUILD=true npm run dist",
"lint": "npm run tsc && npm run lint:script && npm run lint:demo && npm run lint:style && npm run lint:deps && npm run lint:md",
"lint-fix": "npm run lint-fix:script && npm run lint-fix:demo && npm run lint-fix:style",
"lint-fix:demo": "eslint-tinker ./components/*/demo/*.md",

Loading…
Cancel
Save