From b738dca3fdd9a15e51feceee9b5271eee67ba6fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20Ioni=C8=9B=C4=83?= Date: Wed, 4 Dec 2024 15:09:19 +0200 Subject: [PATCH] fix: npm build (#914) --- resources/css/public.tailwind.config.js | 8 ++++---- tailwind.config.js | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/resources/css/public.tailwind.config.js b/resources/css/public.tailwind.config.js index 184ad3c1..1cc4b209 100644 --- a/resources/css/public.tailwind.config.js +++ b/resources/css/public.tailwind.config.js @@ -13,7 +13,7 @@ const colorVariable = (variable) => { }; /** @type {import('tailwindcss').Config} */ -module.exports = { +export default { theme: { container: { center: true, @@ -168,8 +168,8 @@ module.exports = { 'resources/views/**/*.blade.php', ], plugins: [ - require('@tailwindcss/aspect-ratio'), - require('@tailwindcss/forms'), - require('@tailwindcss/typography'), + import('@tailwindcss/aspect-ratio'), + import('@tailwindcss/forms'), + import('@tailwindcss/typography'), ], }; diff --git a/tailwind.config.js b/tailwind.config.js index 197b51eb..bda4058e 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -90,8 +90,8 @@ export default { 'resources/js/**/*.js', ], plugins: [ - require('@tailwindcss/aspect-ratio'), - require('@tailwindcss/forms'), - require('@tailwindcss/typography'), + import('@tailwindcss/aspect-ratio'), + import('@tailwindcss/forms'), + import('@tailwindcss/typography'), ], };