From 71691a218aad8dcc3837c41598b8cbe48ef4f8f7 Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Mon, 13 Jan 2025 13:38:16 +0000 Subject: [PATCH] chore: changed Tailwind config from JS to TS (#3579) * chore: favour ts config * chore: release * chore: changeset * chore: change set * Update .github/workflows/pr-release.yaml --- .changeset/ten-cherries-perform.md | 5 +++++ templates/vite/{tailwind.config.js => tailwind.config.ts} | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .changeset/ten-cherries-perform.md rename templates/vite/{tailwind.config.js => tailwind.config.ts} (91%) diff --git a/.changeset/ten-cherries-perform.md b/.changeset/ten-cherries-perform.md new file mode 100644 index 00000000000..0de8ec1ca01 --- /dev/null +++ b/.changeset/ten-cherries-perform.md @@ -0,0 +1,5 @@ +--- +"create-fuels": patch +--- + +chore: changed Tailwind config from JS to TS diff --git a/templates/vite/tailwind.config.js b/templates/vite/tailwind.config.ts similarity index 91% rename from templates/vite/tailwind.config.js rename to templates/vite/tailwind.config.ts index dde8c332aa3..257b7fbf6ca 100644 --- a/templates/vite/tailwind.config.js +++ b/templates/vite/tailwind.config.ts @@ -1,5 +1,6 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { +import type { Config } from 'tailwindcss'; + +export default { content: ['./index.html', './src/**/*.{js,jsx,ts,tsx}'], theme: { fontFamily: { @@ -31,4 +32,4 @@ module.exports = { }, }, plugins: [], -}; +} satisfies Config;