From f1a735581217bd0320cff82575e89cab5177d19e Mon Sep 17 00:00:00 2001 From: siriwatknp Date: Mon, 8 Jul 2024 20:14:29 +0700 Subject: [PATCH 1/2] pass down finalTransformLibraries --- packages/pigment-css-vite-plugin/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/pigment-css-vite-plugin/src/index.ts b/packages/pigment-css-vite-plugin/src/index.ts index 34170da0..32081aa1 100644 --- a/packages/pigment-css-vite-plugin/src/index.ts +++ b/packages/pigment-css-vite-plugin/src/index.ts @@ -112,6 +112,7 @@ export function pigment(options: PigmentOptions) { themeArgs: { theme, }, + transformLibraries: finalTransformLibraries, preprocessor: preprocessor ?? withRtl, babelOptions: { ...babelOptions, From bcbfb6d3f891d5a8229a38c1968800910ad44a31 Mon Sep 17 00:00:00 2001 From: siriwatknp Date: Mon, 8 Jul 2024 20:17:32 +0700 Subject: [PATCH 2/2] fix pnpm setup --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24255495..4d885bf9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: # fetch all tags which are required for `pnpm release:changelog` fetch-depth: 0 - name: Set up pnpm - uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 + uses: pnpm/action-setup@v4 - name: Use Node.js 18.x uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: