Skip to content

Commit

Permalink
update internal path import
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Apr 22, 2022
1 parent 8ea6672 commit 0ffa323
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/next/server/base-server.ts
Expand Up @@ -18,7 +18,7 @@ import type { PagesManifest } from '../build/webpack/plugins/pages-manifest-plug
import type { BaseNextRequest, BaseNextResponse } from './base-http'
import type { PayloadOptions } from './send-payload'

import { join, resolve } from 'path'
import path from '../shared/lib/isomorphic/path'
import { parse as parseQs } from 'querystring'
import { format as formatUrl, parse as parseUrl } from 'url'
import { getRedirectStatus } from '../lib/load-custom-routes'
Expand Down Expand Up @@ -66,6 +66,8 @@ import { PrerenderManifest } from '../build'
import { ImageConfigComplete } from '../shared/lib/image-config'
import { replaceBasePath } from './router-utils'

const { join, resolve } = path

export type FindComponentsResult = {
components: LoadComponentsReturnType
query: NextParsedUrlQuery
Expand Down

0 comments on commit 0ffa323

Please sign in to comment.