prettier tailwind

This commit is contained in:
Timothy Lin
2022-01-31 23:58:10 +08:00
parent 7bf39de73c
commit 2eaac5ae31
26 changed files with 92 additions and 82 deletions

View File

@ -1,7 +1,10 @@
import fs from 'fs'
import path from 'path'
const pipe = (...fns) => (x) => fns.reduce((v, f) => f(v), x)
const pipe =
(...fns) =>
(x) =>
fns.reduce((v, f) => f(v), x)
const flattenArray = (input) =>
input.reduce((acc, item) => [...acc, ...(Array.isArray(item) ? item : [item])], [])