From 31cf1587d23d1c44a13eef633263aecde5ec6680 Mon Sep 17 00:00:00 2001 From: BOT Alex <44818698+MagicBOTAlex@users.noreply.github.com> Date: Wed, 1 Jan 2025 01:27:02 +0100 Subject: [PATCH] import instead of require --- tailwind.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tailwind.config.js b/tailwind.config.js index b8bdb27..8f70afd 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,10 +1,13 @@ +import typo from "@tailwindcss/typography" +import daisyui from "daisyui" + /** @type {import('tailwindcss').Config} */ export default { content: ['./src/**/*.{html,js,svelte,ts}'], theme: { extend: {}, }, - plugins: [require("@tailwindcss/typography"), require('daisyui'),], + plugins: [typo, daisyui], daisyui: { themes: [ "forest",