support esm modules
This commit is contained in:
parent
765cc0c7cf
commit
dcbdb0ccb7
11 changed files with 43 additions and 38 deletions
|
|
@ -1,10 +1,7 @@
|
|||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
const { pick, omit } = require("lodash")
|
||||
const colors = require("tailwindcss/colors")
|
||||
const defaultTheme = require("tailwindcss/defaultTheme")
|
||||
import defaultTheme from "tailwindcss/defaultTheme"
|
||||
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
const config = {
|
||||
darkMode: "class",
|
||||
content: [
|
||||
"./index.html",
|
||||
|
|
@ -88,3 +85,5 @@ module.exports = {
|
|||
hoverOnlyWhenSupported: true,
|
||||
},
|
||||
}
|
||||
|
||||
export default config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue