style: lint changes
This commit is contained in:
parent
14113707df
commit
9863723390
1 changed files with 5 additions and 1 deletions
|
|
@ -20,7 +20,11 @@ function removeTailwindComments(css) {
|
|||
}
|
||||
|
||||
export default function purgeUnusedUtilities(config) {
|
||||
const purgeEnabled = _.get(config, 'purge.enabled', config.purge !== undefined && process.env.NODE_ENV === 'production')
|
||||
const purgeEnabled = _.get(
|
||||
config,
|
||||
'purge.enabled',
|
||||
config.purge !== undefined && process.env.NODE_ENV === 'production'
|
||||
)
|
||||
|
||||
if (!purgeEnabled) {
|
||||
return removeTailwindComments
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue