fix(build): Convert tailwind config to CJS
- Renamed tailwind.config.ts to .cjs to force CommonJS loading - Switched to require() syntax to bypass ESM loader issues in PostCSS
This commit is contained in:
parent
897693d89b
commit
77e9dd7e70
1 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
import colors from 'tailwindcss/colors';
|
const colors = require('tailwindcss/colors');
|
||||||
|
|
||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
export default {
|
module.exports = {
|
||||||
content: [
|
content: [
|
||||||
"./index.html",
|
"./index.html",
|
||||||
"./src/**/*.{js,ts,jsx,tsx}",
|
"./src/**/*.{js,ts,jsx,tsx}",
|
||||||
|
|
@ -193,5 +193,5 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [],
|
plugins: [],
|
||||||
}
|
}
|
||||||
Loading…
Add table
Reference in a new issue