[FIX] Fix broken CSS

This is a fix for #141 
The CSS was broken due to the import in the tailwind.config.js, it should be inside the module.exports and not outside. Thats why bun was giving a warning before :

```
# bun run dev
warn - The `content` option in your Tailwind CSS configuration is missing or empty.
warn - Configure your content sources or your generated CSS will be missing styles.
warn - https://tailwindcss.com/docs/content-configuration
```

it is now fixed
This commit is contained in:
Aymen Djellal
2024-09-25 09:12:54 -04:00
committed by GitHub
parent 4c747e8908
commit 45922ed3a3

View File

@@ -1,10 +1,9 @@
/** @type {import('tailwindcss').Config} */
import scrollbar from 'tailwind-scrollbar';
// eslint-disable-next-line no-undef
module.exports = {
content: ["./src/**/*.{html,js,tsx,jsx,cjs,mjs}"],
content: ['./src/**/*.{html,js,tsx,jsx,cjs,mjs}'],
theme: {
extend: {},
},
plugins: [scrollbar()],
}
plugins: [require('tailwind-scrollbar')],
}