From 306ca9d7af4fb4ad6fadbfbf548cafe294a8184a Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Thu, 28 Mar 2024 20:08:01 +0800 Subject: [PATCH] fix: fix css style issue #281 --- .github/workflows/ci.yml | 1 + package.json | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c72cd9138..18e88a788 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,7 @@ jobs: - run: npm run build:website # examples/basic 里面的 ts 转换 成 js版本并存储到 examples/basicjs - run: yarn run build:js + - run: npm run css:build - name: Create Tag id: create_tag diff --git a/package.json b/package.json index f9748894b..448066592 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,8 @@ "watch:hooks": "lerna exec --scope @antdp/hooks -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}", "watch:request": "lerna exec --scope @antdp/request -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}", "⬆️⬆️⬆️⬆️⬆️ watch::package ⬆️⬆️⬆️⬆️⬆️": "▲▲▲▲▲ watch::package ▲▲▲▲▲", + "css:build": "lerna exec --scope @antdp/* -- compile-less -d src -o esm", + "css:watch": "lerna exec --scope @antdp/* -- compile-less -d src -o esm --watch", "----": "----", "build:js": "node ./script/copy", "version": "lerna version --exact --force-publish --no-push --no-git-tag-version",