chore: use named export from defu (#18679)

This commit is contained in:
Daniel Roe 2023-02-01 16:02:45 -08:00 committed by GitHub
parent 29fc6003a8
commit e28eed03e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -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) {

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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'