diff --git a/postcss.config.js b/postcss.config.js index 2e7af2b..a8ffe39 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,6 +1,11 @@ -export default { +import tailwindcss from 'tailwindcss'; +import autoprefixer from 'autoprefixer'; + +const config = { plugins: { - tailwindcss: {}, - autoprefixer: {}, + tailwindcss, + autoprefixer, }, -} +}; + +export default config; \ No newline at end of file diff --git a/tailwind.config.js b/tailwind.config.js index 1c3b7e1..21d0560 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,5 +1,5 @@ /** @type {import('tailwindcss').Config} */ -module.exports = { +const config = { content: [ "./index.html", "./src/**/*.{js,ts,jsx,tsx}", @@ -8,4 +8,6 @@ module.exports = { extend: {}, }, plugins: [], -} +}; + +export default config; \ No newline at end of file