From 55592b6edadd331b3c414325932ae37309e54731 Mon Sep 17 00:00:00 2001 From: Raymond Fleming Date: Thu, 4 Apr 2024 01:16:39 -0400 Subject: [PATCH] switch svelte & tailwind configs back to js --- svelte.config.ts => svelte.config.js | 4 ++-- tailwind.config.ts => tailwind.config.js | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) rename svelte.config.ts => svelte.config.js (83%) rename tailwind.config.ts => tailwind.config.js (51%) diff --git a/svelte.config.ts b/svelte.config.js similarity index 83% rename from svelte.config.ts rename to svelte.config.js index ac5da14..61d6ee3 100644 --- a/svelte.config.ts +++ b/svelte.config.js @@ -1,8 +1,8 @@ import adapter from '@sveltejs/adapter-static'; -import type { Config } from '@sveltejs/kit'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; -const config: Config = { +/** @type {import('@sveltejs/kit').Config} */ +const config = { kit: { adapter: adapter(), paths: { diff --git a/tailwind.config.ts b/tailwind.config.js similarity index 51% rename from tailwind.config.ts rename to tailwind.config.js index 53ab4e8..fbb5552 100644 --- a/tailwind.config.ts +++ b/tailwind.config.js @@ -1,11 +1,8 @@ -import type { Config } from 'tailwindcss'; - -const config: Config = { +/** @type {import('tailwindcss').Config} */ +export default { content: ['./src/**/*.{html,js,svelte,ts}'], plugins: [], theme: { extend: {}, }, }; - -export default config;