Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
chu121su12 committed Oct 8, 2022
1 parent ab45b55 commit 719826d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime/src/index.ts
Expand Up @@ -96,7 +96,7 @@ export default function init(inlineConfig: RuntimeOptions = {}) {
const userConfig = defaultWindow.__unocss || {}
const runtimeOptions = Object.assign({}, inlineConfig, userConfig.runtime)
const userConfigDefaults = runtimeOptions.defaults || {}
const cloakAttribute = userConfigDefaults.cloakAttribute ?? 'un-cloak'
const cloakAttribute = runtimeOptions.cloakAttribute ?? 'un-cloak'
if (runtimeOptions.autoPrefix) {
const postprocessors = userConfigDefaults.postprocess = toArray(userConfigDefaults.postprocess)
postprocessors.unshift(autoPrefixer(defaultDocument.createElement('div').style))
Expand Down

0 comments on commit 719826d

Please sign in to comment.