mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix: use named export from defu
in all places (#18624)
This commit is contained in:
parent
d83dc797af
commit
5037dd6876
@ -1,7 +1,7 @@
|
||||
import { promises as fsp } from 'node:fs'
|
||||
import { isAbsolute, join, relative, resolve } from 'pathe'
|
||||
import type { Nuxt, TSReference } from '@nuxt/schema'
|
||||
import defu from 'defu'
|
||||
import { defu } from 'defu'
|
||||
import type { TSConfig } from 'pkg-types'
|
||||
import { getModulePaths, getNearestPackage } from './cjs'
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { promises as fsp } from 'node:fs'
|
||||
import { dirname, resolve, join } from 'pathe'
|
||||
import defu from 'defu'
|
||||
import { defu } from 'defu'
|
||||
import type { Nuxt, NuxtApp, NuxtPlugin, NuxtTemplate, ResolvedNuxtTemplate } from '@nuxt/schema'
|
||||
import { findPath, resolveFiles, normalizePlugin, normalizeTemplate, compileTemplate, templateUtils, tryResolveModule, resolvePath, resolveAlias } from '@nuxt/kit'
|
||||
|
||||
|
@ -5,7 +5,7 @@ import type { NitroConfig, Nitro } from 'nitropack'
|
||||
import type { Nuxt } from '@nuxt/schema'
|
||||
import { logger, resolvePath } from '@nuxt/kit'
|
||||
import escapeRE from 'escape-string-regexp'
|
||||
import defu from 'defu'
|
||||
import { defu } from 'defu'
|
||||
import fsExtra from 'fs-extra'
|
||||
import { dynamicEventHandler } from 'h3'
|
||||
import type { Plugin } from 'rollup'
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { defineUntypedSchema } from 'untyped'
|
||||
import defu from 'defu'
|
||||
import { defu } from 'defu'
|
||||
import type { AppHeadMetaObject } from '../types/meta'
|
||||
|
||||
export default defineUntypedSchema({
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { defineUntypedSchema } from 'untyped'
|
||||
import defu from 'defu'
|
||||
import { defu } from 'defu'
|
||||
import { join } from 'pathe'
|
||||
|
||||
export default defineUntypedSchema({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { defineUntypedSchema } from 'untyped'
|
||||
import { join, resolve } from 'pathe'
|
||||
import { isDebug, isDevelopment } from 'std-env'
|
||||
import defu from 'defu'
|
||||
import { defu } from 'defu'
|
||||
import { findWorkspaceDir } from 'pkg-types'
|
||||
import type { RuntimeConfig } from '../types/config'
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import defu from 'defu'
|
||||
import { defu } from 'defu'
|
||||
import createResolver from 'postcss-import-resolver'
|
||||
import { defineUntypedSchema } from 'untyped'
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { resolve } from 'node:path'
|
||||
import defu from 'defu'
|
||||
import { defu } from 'defu'
|
||||
import type { TestContext, TestOptions, TestRunner } from './types'
|
||||
|
||||
let currentContext: TestContext | undefined
|
||||
|
@ -7,7 +7,7 @@ import type { ServerOptions } from 'vite'
|
||||
import { logger } from '@nuxt/kit'
|
||||
import { getPort } from 'get-port-please'
|
||||
import { joinURL, withoutLeadingSlash } from 'ufo'
|
||||
import defu from 'defu'
|
||||
import { defu } from 'defu'
|
||||
import type { OutputOptions } from 'rollup'
|
||||
import { defineEventHandler } from 'h3'
|
||||
import { cacheDirPlugin } from './plugins/cache-dir'
|
||||
|
Loading…
Reference in New Issue
Block a user