Skip to content

Commit

Permalink
chore: use named export from defu (#18679)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Feb 2, 2023
1 parent 29fc600 commit e28eed0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/utils/config.js
@@ -1,5 +1,5 @@
import path from 'path'
import defu from 'defu'
import { defu } from 'defu'
import { loadNuxtConfig as _loadNuxtConfig, getDefaultNuxtConfig } from '@nuxt/config'

export async function loadNuxtConfig (argv, configContext) {
Expand Down
2 changes: 1 addition & 1 deletion packages/config/src/load.js
@@ -1,6 +1,6 @@
import path from 'path'
import fs from 'fs'
import defu from 'defu'
import { defu } from 'defu'
import consola from 'consola'
import dotenv from 'dotenv'
import { clearRequireCache, createRequire, scanRequireTree } from '@nuxt/utils'
Expand Down
2 changes: 1 addition & 1 deletion packages/config/src/options.js
@@ -1,7 +1,7 @@
import path from 'path'
import fs from 'fs'
import { defaultsDeep, pick, uniq } from 'lodash'
import defu from 'defu'
import { defu } from 'defu'
import consola from 'consola'
import destr from 'destr'
import { TARGETS, MODES, createRequire, guardDir, isNonEmptyString, isPureObject, isUrl, getMainModule, getPKG } from '@nuxt/utils'
Expand Down
2 changes: 1 addition & 1 deletion packages/generator/src/generator.js
Expand Up @@ -3,7 +3,7 @@ import chalk from 'chalk'
import consola from 'consola'
import { uneval } from 'devalue'
import fsExtra from 'fs-extra'
import defu from 'defu'
import { defu } from 'defu'
import htmlMinifier from 'html-minifier'
import { parse } from 'node-html-parser'
import { withTrailingSlash, withoutTrailingSlash, decode } from 'ufo'
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-renderer/src/renderer.js
Expand Up @@ -4,7 +4,7 @@ import consola from 'consola'
import { template } from 'lodash'
import { TARGETS, isModernRequest, urlJoin, waitFor } from '@nuxt/utils'
import { normalizeURL } from 'ufo'
import defu from 'defu'
import { defu } from 'defu'

import SPARenderer from './renderers/spa'
import SSRRenderer from './renderers/ssr'
Expand Down

0 comments on commit e28eed0

Please sign in to comment.