From d0987502cdba83ae2142edbafae8592bc5ea4440 Mon Sep 17 00:00:00 2001 From: Rares Vanca Date: Mon, 20 May 2024 11:11:30 +0300 Subject: [PATCH] Fix tailwind dependency issue --- .github/workflows/deploy.yml | 5 ++++- polybius-web/tailwind.config.js | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8473adf..542b803 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,8 +32,11 @@ jobs: node-version: '20' - name: Install Tailwind CSS - run: npm install -g tailwindcss + run: npm install -D tailwindcss working-directory: ./polybius-web + + - name: Initialize Tailwind CSS + run: npx tailwindcss init - name: Build release run: trunk build --release diff --git a/polybius-web/tailwind.config.js b/polybius-web/tailwind.config.js index a723466..81f116d 100644 --- a/polybius-web/tailwind.config.js +++ b/polybius-web/tailwind.config.js @@ -1,5 +1,3 @@ -const colors = require('tailwindcss/colors') - module.exports = { mode: "jit", content: {