Skip to content

Commit 107472a

Browse files
committed
fix: using mjs syntax without transpiling
1 parent 3ed1ba5 commit 107472a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { flatten } from 'flat'
2-
import plugin from 'tailwindcss/plugin'
1+
const { flatten } = require('flat')
2+
const plugin = require('tailwindcss/plugin')
33

44
const normalizeValues = (config) => Object.fromEntries(
55
Object.entries(flatten(config, { delimiter: '-', maxDepth: 2 })).sort(([a], [b]) => a === 'DEFAULT' ? -1 : 1)

0 commit comments

Comments
 (0)