fix: nuxt/config imports/exports (#4217)

This commit is contained in:
Jonas Galvez 2018-10-27 19:02:43 -03:00 committed by Pooya Parsa
parent 007ca05174
commit f90110af26
3 changed files with 3 additions and 6 deletions

View File

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

View File

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

View File

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