未验证 提交 f8e9cbba 编写于 作者: J Joe Haddad

Consolidate import statements

上级 a7a59450
......@@ -14,9 +14,11 @@ import {
PHASE_PRODUCTION_SERVER,
SERVER_DIRECTORY,
} from '../lib/constants'
import { getRouteMatcher } from '../lib/router/utils/route-matcher'
import { getRouteRegex } from '../lib/router/utils/route-regex'
import { getSortedRoutes } from '../lib/router/utils/sorted-routes'
import {
getRouteMatcher,
getRouteRegex,
getSortedRoutes,
} from '../lib/router/utils'
import * as envConfig from '../lib/runtime-config'
import loadConfig from './config'
import { recursiveReadDirSync } from './lib/recursive-readdir-sync'
......
......@@ -9,9 +9,11 @@ import { ampValidation } from '../build/output/index'
import * as Log from '../build/output/log'
import { verifyTypeScriptSetup } from '../lib/verifyTypeScriptSetup'
import Watchpack from 'watchpack'
import { getRouteMatcher } from 'next-server/dist/lib/router/utils/route-matcher'
import { getRouteRegex } from 'next-server/dist/lib/router/utils/route-regex'
import { getSortedRoutes } from 'next-server/dist/lib/router/utils/sorted-routes'
import {
getRouteMatcher,
getRouteRegex,
getSortedRoutes
} from 'next-server/dist/lib/router/utils'
const React = require('react')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册