mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix: nuxt/config imports/exports (#4217)
This commit is contained in:
parent
007ca05174
commit
f90110af26
@ -5,8 +5,7 @@ import defaults from 'lodash/defaults'
|
||||
import pick from 'lodash/pick'
|
||||
import isObject from 'lodash/isObject'
|
||||
import consola from 'consola'
|
||||
// eslint-disable-next-line
|
||||
import { default as NuxtConfig, Modes } from '@nuxt/config'
|
||||
import { NuxtConfig, Modes } from '@nuxt/config'
|
||||
import { isPureObject, isUrl, guardDir, isString } from './utils'
|
||||
|
||||
// hasValue utility
|
||||
|
@ -1,4 +1,3 @@
|
||||
import NuxtConfig from './config'
|
||||
|
||||
// Export individual bundles for easier access
|
||||
export { default as Modes } from './modes'
|
||||
@ -7,5 +6,4 @@ export { default as messages } from './config/messages'
|
||||
export { default as render } from './config/render'
|
||||
export { default as router } from './config/router'
|
||||
export { default as server } from './config/server'
|
||||
|
||||
export default NuxtConfig
|
||||
export { default as NuxtConfig } from './config'
|
||||
|
@ -10,7 +10,7 @@ import launchMiddleware from 'launch-editor-middleware'
|
||||
import consola from 'consola'
|
||||
|
||||
import { isUrl, timeout, waitFor, determineGlobals } from '@nuxt/common'
|
||||
import NuxtConfig from '@nuxt/config'
|
||||
import { NuxtConfig } from '@nuxt/config'
|
||||
|
||||
import MetaRenderer from './meta'
|
||||
import errorMiddleware from './middleware/error'
|
||||
|
Loading…
Reference in New Issue
Block a user