diff --git a/.github/workflows/dev-packages.yaml b/.github/workflows/dev-packages.yaml index 66b51ba1..7bfedb60 100644 --- a/.github/workflows/dev-packages.yaml +++ b/.github/workflows/dev-packages.yaml @@ -37,7 +37,7 @@ jobs: - name: Install dependencies run: pnpm install - name: Build - run: pnpm build:packages --sourceMap false + run: pnpm build:packages:prod - name: Publish run: | pnpm changeset version --no-git-tag --snapshot dev diff --git a/package.json b/package.json index 0b6d61f0..feb77043 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "main": "index.js", "scripts": { "build:packages": "pnpm run --filter './packages/**' -r build", - // extra prod build command + "build:packages:prod": "pnpm build:packages --sourceMap false", "build": "pnpm run -r build", "ci:publish": "changeset publish && git push --follow-tags", "ci:version": "changeset version && pnpm install --no-frozen-lockfile", @@ -15,7 +15,7 @@ "docs:start": "pnpm --filter docs start", "format": "prettier --write .", "lint": "eslint .", - "release": "pnpm build:packages --sourceMap false && pnpm changeset publish", + "release": "pnpm build:packages:prod && pnpm changeset publish", "test": "pnpm run -r test" }, "keywords": [],