From 936db3c9e81603c18c9f12250c9b6ca3205cea41 Mon Sep 17 00:00:00 2001 From: Alex Strelets Date: Mon, 6 Jan 2025 23:27:14 +0200 Subject: [PATCH] Refactor deployment workflow to use npx for building and remove unused font dependency --- .github/workflows/deploy.yml | 2 +- package.json | 1 - tailwind.config.js | 7 ------- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 76713dd..187d851 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -33,7 +33,7 @@ jobs: run: npm install - name: Build project - run: npm run build + run: npx vite build - name: Verify dist directory run: ls -la ./dist diff --git a/package.json b/package.json index b1f1f5c..d1ad4c5 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,6 @@ "tsc": "tsc -b" }, "dependencies": { - "@fontsource-variable/dm-sans": "^5.1.1", "clsx": "^2.1.1", "dsssp": "^0.1.7", "react": "^18.2.0", diff --git a/tailwind.config.js b/tailwind.config.js index 53c7600..70eb632 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,13 +1,6 @@ /** @type {import('tailwindcss').Config} */ module.exports = { content: ['./src/**/*.{js,jsx,ts,tsx}'], - theme: { - extend: { - fontFamily: { - sans: ['"DM Sans"', 'ui-sans-serif', 'system-ui', 'sans-serif'] - } - } - }, plugins: [ function ({ addBase, theme }) { const colors = theme('colors')