fix(config): resolve tailwind styles loss in bun environment
Change the export syntax in tailwind.config.js from CommonJS to ES modules. This modification fixes the issue of missing Tailwind CSS styles when running the application with bun. Signed-off-by: Ivan Li <ivanli2048@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import defaultTheme from 'tailwindcss/defaultTheme';
|
||||
import typographyPlugin from '@tailwindcss/typography';
|
||||
|
||||
module.exports = {
|
||||
export default {
|
||||
content: ['./src/**/*.{astro,html,js,jsx,json,md,mdx,svelte,ts,tsx,vue}'],
|
||||
theme: {
|
||||
extend: {
|
||||
|
Reference in New Issue
Block a user