-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
nuxt/framework
#1039Description
Environment
- Operating System:
Darwin
- Node Version:
v14.15.4
- Nuxt Version:
3-3.0.0
- Package Manager:
Yarn
- Bundler:
Webpack
- User Config:
-
- Runtime Modules:
-
- Build Modules:
-
Describe the bug
I am using following config for my project that I successfully migrated to @nuxt/bridge
(thanks for your efforts!)
import { defineNuxtConfig, NuxtConfig } from '@nuxt/bridge'
const config: NuxtConfig = {
target: 'static',
// ...
}
// Some conditional dev stuff
// ..
export default defineNuxtConfig(config)
But after going the next step and started migrating to nuxt3
, I now need need separate imports. For best DX I suggest to re-export the type in that package. This saves every developer the type lookup.
import { defineNuxtConfig } from 'nuxt3'
import { NuxtConfig } from '@nuxt/kit'
I'll open a PR for that.
Reproduction
Description is obvious.
Additional context
No response
Logs
No response