Consolidate import statements

parent a7a59450
...@@ -14,9 +14,11 @@ import { ...@@ -14,9 +14,11 @@ import {
PHASE_PRODUCTION_SERVER, PHASE_PRODUCTION_SERVER,
SERVER_DIRECTORY, SERVER_DIRECTORY,
} from '../lib/constants' } from '../lib/constants'
import { getRouteMatcher } from '../lib/router/utils/route-matcher' import {
import { getRouteRegex } from '../lib/router/utils/route-regex' getRouteMatcher,
import { getSortedRoutes } from '../lib/router/utils/sorted-routes' getRouteRegex,
getSortedRoutes,
} from '../lib/router/utils'
import * as envConfig from '../lib/runtime-config' import * as envConfig from '../lib/runtime-config'
import loadConfig from './config' import loadConfig from './config'
import { recursiveReadDirSync } from './lib/recursive-readdir-sync' import { recursiveReadDirSync } from './lib/recursive-readdir-sync'
......
...@@ -9,9 +9,11 @@ import { ampValidation } from '../build/output/index' ...@@ -9,9 +9,11 @@ import { ampValidation } from '../build/output/index'
import * as Log from '../build/output/log' import * as Log from '../build/output/log'
import { verifyTypeScriptSetup } from '../lib/verifyTypeScriptSetup' import { verifyTypeScriptSetup } from '../lib/verifyTypeScriptSetup'
import Watchpack from 'watchpack' import Watchpack from 'watchpack'
import { getRouteMatcher } from 'next-server/dist/lib/router/utils/route-matcher' import {
import { getRouteRegex } from 'next-server/dist/lib/router/utils/route-regex' getRouteMatcher,
import { getSortedRoutes } from 'next-server/dist/lib/router/utils/sorted-routes' getRouteRegex,
getSortedRoutes
} from 'next-server/dist/lib/router/utils'
const React = require('react') const React = require('react')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment