mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
merge leftovers
This commit is contained in:
parent
b06346d0df
commit
36db8c7759
@ -1,4 +1,4 @@
|
|||||||
import type { Nuxt } from 'nuxt/core'
|
import type { Nuxt } from 'src/core'
|
||||||
|
|
||||||
import Builder from './builder'
|
import Builder from './builder'
|
||||||
export { default as Builder } from './builder'
|
export { default as Builder } from './builder'
|
||||||
|
@ -3,7 +3,7 @@ import chalk from 'chalk'
|
|||||||
import opener from 'opener'
|
import opener from 'opener'
|
||||||
import type { ParsedArgs } from 'minimist'
|
import type { ParsedArgs } from 'minimist'
|
||||||
|
|
||||||
import { Nuxt } from 'nuxt/core'
|
import { Nuxt } from 'src/core'
|
||||||
|
|
||||||
import type NuxtCommand from '../command'
|
import type NuxtCommand from '../command'
|
||||||
import { common, server } from '../options'
|
import { common, server } from '../options'
|
||||||
|
@ -2,7 +2,7 @@ import consola from 'consola'
|
|||||||
import env from 'std-env'
|
import env from 'std-env'
|
||||||
import chalk from 'chalk'
|
import chalk from 'chalk'
|
||||||
|
|
||||||
import { Nuxt } from 'nuxt/core'
|
import { Nuxt } from 'src/core'
|
||||||
import { successBox } from './formatting'
|
import { successBox } from './formatting'
|
||||||
import { getFormattedMemoryUsage } from './memory'
|
import { getFormattedMemoryUsage } from './memory'
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ import _createRequire from 'create-require'
|
|||||||
import destr from 'destr'
|
import destr from 'destr'
|
||||||
import * as rc from 'rc9'
|
import * as rc from 'rc9'
|
||||||
|
|
||||||
import { LoadOptions } from 'nuxt/core/load'
|
import { LoadOptions } from 'src/core/load'
|
||||||
import { defaultNuxtConfigFile } from './config'
|
import { defaultNuxtConfigFile } from './config'
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { EnvConfig } from 'nuxt/config/load'
|
import { EnvConfig } from 'src/config/load'
|
||||||
import { loadNuxtConfig } from '../config'
|
import { loadNuxtConfig } from '../config'
|
||||||
import Nuxt from './nuxt'
|
import Nuxt from './nuxt'
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { resolve, join } from 'path'
|
import { resolve, join } from 'path'
|
||||||
import fs from 'fs-extra'
|
import fs from 'fs-extra'
|
||||||
|
|
||||||
import { Nuxt } from 'nuxt/core'
|
import { Nuxt } from 'src/core'
|
||||||
import {
|
import {
|
||||||
startsWithRootAlias,
|
startsWithRootAlias,
|
||||||
startsWithSrcAlias,
|
startsWithSrcAlias,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import type { Nuxt } from 'nuxt/core'
|
import type { Nuxt } from 'src/core'
|
||||||
|
|
||||||
import Generator from './generator'
|
import Generator from './generator'
|
||||||
export { default as Generator } from './generator'
|
export { default as Generator } from './generator'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { Server } from 'nuxt/server'
|
import { Server } from 'src/server'
|
||||||
|
|
||||||
export default class ServerContext {
|
export default class ServerContext {
|
||||||
nuxt: Server['nuxt']
|
nuxt: Server['nuxt']
|
||||||
|
@ -7,7 +7,7 @@ import { TARGETS, isModernRequest, waitFor } from 'src/utils'
|
|||||||
import SPARenderer from './renderers/spa'
|
import SPARenderer from './renderers/spa'
|
||||||
import SSRRenderer from './renderers/ssr'
|
import SSRRenderer from './renderers/ssr'
|
||||||
import ModernRenderer from './renderers/modern'
|
import ModernRenderer from './renderers/modern'
|
||||||
import ServerContext from 'nuxt/server/context'
|
import ServerContext from 'src/server/context'
|
||||||
|
|
||||||
export default class VueRenderer {
|
export default class VueRenderer {
|
||||||
__closed?: boolean
|
__closed?: boolean
|
||||||
|
Loading…
Reference in New Issue
Block a user