From 4abe91acbfc81497b0dcc9e6040263f34a4ee435 Mon Sep 17 00:00:00 2001 From: Cohan Carpentier Date: Tue, 2 Apr 2024 12:55:11 -0400 Subject: [PATCH] chore: proper tailwind import paths --- config/tailwind.config.ts | 8 +++++++- package.json | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config/tailwind.config.ts b/config/tailwind.config.ts index a81e755..9401769 100644 --- a/config/tailwind.config.ts +++ b/config/tailwind.config.ts @@ -3,7 +3,13 @@ import tailwindcssAnimate from "tailwindcss-animate"; const config = { darkMode: ["class"], - content: ["../**/*.{js,ts,jsx,tsx}"], // keep this + content: [ + "../../apps/**/*.{ts,tsx}", + "../../packages/**/*.{ts,tsx}", + "../../node_modules/@risc0/ui/**/*.{ts,tsx}", + "./node_modules/@risc0/ui/**/*.{ts,tsx}", + "./**/*.{ts,tsx}", + ], // keep those imports prefix: "", theme: { container: { diff --git a/package.json b/package.json index cac7ea4..7ade94c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@risc0/ui", - "version": "0.0.25", + "version": "0.0.26", "type": "module", "sideEffects": false, "scripts": {