Consolidate import statements

This commit is contained in:
Joe Haddad 2019-05-31 02:27:56 -07:00
parent a7a59450a5
commit f8e9cbba7b
No known key found for this signature in database
GPG key ID: C5B785A7D0DE1654
2 changed files with 10 additions and 6 deletions

View file

@ -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'

View file

@ -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')