From e19c54596055e33099d163eb447aab516e94fed0 Mon Sep 17 00:00:00 2001 From: jorenbroekema Date: Fri, 4 Aug 2023 11:10:41 +0200 Subject: [PATCH] feat: export getTailwindFormat function for separate usage --- package.json | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f78e824..600747f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sd-tailwindcss-transformer", - "version": "1.2.1", + "version": "1.3.0", "main": "dist/index.js", "license": "Apache-2.0", "scripts": { diff --git a/src/index.ts b/src/index.ts index cb99ce7..5d18ec4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -37,7 +37,7 @@ const formatTokens = ( return JSON.stringify(result, null, 2) } -const getTailwindFormat = ({ +export const getTailwindFormat = ({ dictionary: { allTokens }, type, isVariables,