Skip to content

Commit

Permalink
fix(core): turn details on by default on dev
Browse files Browse the repository at this point in the history
  • Loading branch information
enkot committed Aug 23, 2023
1 parent 781b8f0 commit 089c0cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import process from 'node:process'
import type { Preset, ResolvedConfig, Rule, Shortcut, ToArray, UserConfig, UserConfigDefaults, UserShortcuts } from './types'
import { clone, isStaticRule, mergeDeep, normalizeVariant, toArray, uniq } from './utils'
import { extractorSplit } from './extractors'
Expand Down Expand Up @@ -157,6 +158,7 @@ export function resolveConfig<Theme extends object = object>(
extractors,
safelist: getMerged('safelist'),
separators,
details: config.details ?? process.env.NODE_ENV === 'development',
}

for (const p of sources)
Expand Down

0 comments on commit 089c0cd

Please sign in to comment.